Make WordPress Core

Changeset 27902


Ignore:
Timestamp:
04/02/2014 03:01:31 AM (10 years ago)
Author:
DrewAPicture
Message:

Improve some inline documentation for class properties in WP_Customize_Section.

Props leewillis77 for the initial patch.
Fixes #26245.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-section.php

    r27398 r27902  
    1010 */
    1111class WP_Customize_Section {
     12
    1213    /**
     14     * WP_Customize_Manager instance.
     15     *
     16     * @since 3.4.0
    1317     * @access public
    14      *
    1518     * @var WP_Customize_Manager
    1619     */
     
    2023     * Unique identifier.
    2124     *
     25     * @since 3.4.0
     26     * @access public
    2227     * @var string
    2328     */
     
    2732     * Priority of the section which informs load order of sections.
    2833     *
     34     * @since 3.4.0
     35     * @access public
    2936     * @var integer
    3037     */
    31     public $priority       = 10;
     38    public $priority = 10;
    3239
    3340    /**
    3441     * Capability required for the section.
    3542     *
     43     * @since 3.4.0
     44     * @access public
    3645     * @var string
    3746     */
    38     public $capability     = 'edit_theme_options';
     47    public $capability = 'edit_theme_options';
     48
     49    /**
     50     * Theme feature support for the section.
     51     *
     52     * @since 3.4.0
     53     * @access public
     54     * @var string|array
     55     */
    3956    public $theme_supports = '';
    4057
     
    4259     * Title of the section to show in UI.
    4360     *
     61     * @since 3.4.0
     62     * @access public
    4463     * @var string
    4564     */
    46     public $title          = '';
     65    public $title = '';
    4766
    4867    /**
    4968     * Description to show in the UI.
    5069     *
     70     * @since 3.4.0
     71     * @access public
    5172     * @var string
    5273     */
    53     public $description    = '';
     74    public $description = '';
     75
     76    /**
     77     * Customizer controls for this section.
     78     *
     79     * @since 3.4.0
     80     * @access public
     81     * @var array
     82     */
    5483    public $controls;
    5584
     
    6190     * @since 3.4.0
    6291     *
    63      * @param WP_Customize_Manager $manager
     92     * @param WP_Customize_Manager $manager Customizer bootstrap instance.
    6493     * @param string               $id      An specific ID of the section.
    6594     * @param array                $args    Section arguments.
Note: See TracChangeset for help on using the changeset viewer.