WordPress.org

Make WordPress Core

Changeset 35393


Ignore:
Timestamp:
10/25/2015 07:57:46 PM (4 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-widget-area-customize-control.php

    r35389 r35393  
    1616 */
    1717class WP_Widget_Area_Customize_Control extends WP_Customize_Control {
     18
     19    /**
     20     * Customize control type.
     21     *
     22     * @since 3.9.0
     23     * @access public
     24     * @var string
     25     */
    1826    public $type = 'sidebar_widgets';
     27
     28    /**
     29     * Sidebar ID.
     30     *
     31     * @since 3.9.0
     32     * @access public
     33     * @var int|string
     34     */
    1935    public $sidebar_id;
    2036
     37    /**
     38     * Refreshes the parameters passed to the JavaScript via JSON.
     39     *
     40     * @since 3.9.0
     41     * @access public
     42     */
    2143    public function to_json() {
    2244        parent::to_json();
     
    2850
    2951    /**
     52     * Renders the control's content.
     53     *
     54     * @since 3.9.0
    3055     * @access public
    3156     */
Note: See TracChangeset for help on using the changeset viewer.