From 91a0357fe02ba6d1a634e15d0d8a0f67ab3a7880 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Fri, 28 Nov 2014 10:51:41 +0000 Subject: [PATCH] 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Manager` class. See #30469. git-svn-id: https://develop.svn.wordpress.org/trunk@30606 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-manager.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index c3a8273183..83a64e95a2 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -57,6 +57,8 @@ final class WP_Customize_Manager { * Controls that may be rendered from JS templates. * * @since 4.1.0 + * @access protected + * @var array */ protected $registered_control_types = array(); @@ -842,12 +844,13 @@ final class WP_Customize_Manager { /** * Register a customize control type. * - * Registered types are eligible to be rendered - * via JS and created dynamically. + * Registered types are eligible to be rendered via JS and created dynamically. * * @since 4.1.0 + * @access public * - * @param string $control Name of a custom control which is a subclass of {@see WP_Customize_Control}. + * @param string $control Name of a custom control which is a subclass of + * {@see WP_Customize_Control}. */ public function register_control_type( $control ) { $this->registered_control_types[] = $control; @@ -857,6 +860,7 @@ final class WP_Customize_Manager { * Render JS templates for all registered control types. * * @since 4.1.0 + * @access public */ public function render_control_templates() { foreach ( $this->registered_control_types as $control_type ) {