Make WordPress Core

Changeset 32028


Ignore:
Timestamp:
04/05/2015 02:52:28 PM (10 years ago)
Author:
DrewAPicture
Message:

Add documentation for the $type and $theme properties in WP_Customize_Theme_Control.

Also add some missing @access tags to various DocBlocks.

See [31533]. See #31888.

File:
1 edited

Legend:

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

    r32023 r32028  
    11971197class WP_Customize_Theme_Control extends WP_Customize_Control {
    11981198
     1199    /**
     1200     * Customize control type.
     1201     *
     1202     * @since 4.2.0
     1203     * @access public
     1204     * @var string
     1205     */
    11991206    public $type = 'theme';
     1207
     1208    /**
     1209     * Theme object.
     1210     *
     1211     * @since 4.2.0
     1212     * @access public
     1213     * @var WP_Theme
     1214     */
    12001215    public $theme;
    12011216
     
    12041219     *
    12051220     * @since 4.2.0
    1206      * @uses WP_Customize_Control::to_json()
     1221     * @access public
     1222     *
     1223     * @see WP_Customize_Control::to_json()
    12071224     */
    12081225    public function to_json() {
     
    12151232     *
    12161233     * @since 4.2.0
     1234     * @access public
    12171235     */
    12181236    public function render_content() {}
     
    12221240     *
    12231241     * @since 4.2.0
     1242     * @access public
    12241243     */
    12251244    public function content_template() {
Note: See TracChangeset for help on using the changeset viewer.