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. git-svn-id: https://develop.svn.wordpress.org/trunk@32033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0b962deaaa
commit
ab0b6a94c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user