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
This commit is contained in:
parent
05a58d58dd
commit
2f42bf0a73
|
@ -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() {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue