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:
Drew Jaynes 2015-04-05 15:10:26 +00:00
parent 831d7ea1e4
commit 8737fcff65
2 changed files with 9 additions and 1 deletions

View File

@ -330,12 +330,20 @@ class 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';
/**
* Render the themes section, which behaves like a panel.
*
* @since 4.2.0
* @access protected
*/
protected function render() {
$classes = 'accordion-section control-section control-section-' . $this->type;

View File

@ -4,7 +4,7 @@
*
* @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.