From ab0b6a94c8667035582ea44e97f98e1462a29e41 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 5 Apr 2015 15:09:30 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-customize-section.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/wp-includes/class-wp-customize-section.php b/src/wp-includes/class-wp-customize-section.php index 9bb59382dd..d06c200fea 100644 --- a/src/wp-includes/class-wp-customize-section.php +++ b/src/wp-includes/class-wp-customize-section.php @@ -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;