From 2f42bf0a73fde1256a8cd4a9da3a83d2fdb387bb Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 25 Oct 2015 19:58:26 +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. Built from https://develop.svn.wordpress.org/trunk@35393 git-svn-id: http://core.svn.wordpress.org/trunk@35357 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- ...class-wp-widget-area-customize-control.php | 25 +++++++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/wp-includes/customize/class-wp-widget-area-customize-control.php b/wp-includes/customize/class-wp-widget-area-customize-control.php index 7b0a791125..6a93766595 100644 --- a/wp-includes/customize/class-wp-widget-area-customize-control.php +++ b/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() { diff --git a/wp-includes/version.php b/wp-includes/version.php index 34964d11fa..55f10f1755 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta1-35392'; +$wp_version = '4.4-beta1-35393'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.