Document the `$theme` property in `WP_Customize_Themes_Section`.
Also adds a missing `@access` tag to the DocBlock for `WP_Customize_Themes_Section->render()`. See [31533]. See #31888. Built from https://develop.svn.wordpress.org/trunk@32033 git-svn-id: http://core.svn.wordpress.org/trunk@32012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
831d7ea1e4
commit
8737fcff65
|
@ -330,12 +330,20 @@ class WP_Customize_Section {
|
||||||
*/
|
*/
|
||||||
class WP_Customize_Themes_Section extends WP_Customize_Section {
|
class WP_Customize_Themes_Section extends WP_Customize_Section {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Customize section type.
|
||||||
|
*
|
||||||
|
* @since 4.2.0
|
||||||
|
* @access public
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
public $type = 'themes';
|
public $type = 'themes';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render the themes section, which behaves like a panel.
|
* Render the themes section, which behaves like a panel.
|
||||||
*
|
*
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
|
* @access protected
|
||||||
*/
|
*/
|
||||||
protected function render() {
|
protected function render() {
|
||||||
$classes = 'accordion-section control-section control-section-' . $this->type;
|
$classes = 'accordion-section control-section control-section-' . $this->type;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta4-32032';
|
$wp_version = '4.2-beta4-32033';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue