From 95be0b747f4f23e5f1ea788ef225b2955ed1d605 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 25 Oct 2015 19:57:46 +0000 Subject: [PATCH] Docs: Add missing DocBlocks for the `$type` and `$sidebar_id` properties, and summaries for the `to_json()` and `render_content()` methods in `WP_Widget_Area_Customize_Control`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35393 602fd350-edb4-49c9-b593-d223f7449a82 --- ...class-wp-widget-area-customize-control.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/wp-includes/customize/class-wp-widget-area-customize-control.php b/src/wp-includes/customize/class-wp-widget-area-customize-control.php index 7b0a791125..6a93766595 100644 --- a/src/wp-includes/customize/class-wp-widget-area-customize-control.php +++ b/src/wp-includes/customize/class-wp-widget-area-customize-control.php @@ -15,9 +15,31 @@ * @see WP_Customize_Control */ class WP_Widget_Area_Customize_Control extends WP_Customize_Control { + + /** + * Customize control type. + * + * @since 3.9.0 + * @access public + * @var string + */ public $type = 'sidebar_widgets'; + + /** + * Sidebar ID. + * + * @since 3.9.0 + * @access public + * @var int|string + */ public $sidebar_id; + /** + * Refreshes the parameters passed to the JavaScript via JSON. + * + * @since 3.9.0 + * @access public + */ public function to_json() { parent::to_json(); $exported_properties = array( 'sidebar_id' ); @@ -27,6 +49,9 @@ class WP_Widget_Area_Customize_Control extends WP_Customize_Control { } /** + * Renders the control's content. + * + * @since 3.9.0 * @access public */ public function render_content() {