Make WordPress Core


Ignore:
Timestamp:
07/13/2015 08:48:47 PM (10 years ago)
Author:
DrewAPicture
Message:

Fix syntax and add missing @access tags to a variety of methods added to WP_Customize_Section, WP_Customize_Nav_Menu_Section, and WP_Customize_New_Menu_Section in 4.3.

See [32658] and [32806]. See #32891.

File:
1 edited

Legend:

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

    r33078 r33220  
    317317     *
    318318     * This function is only run for section types that have been registered with
    319      * {@see WP_Customize_Manager::register_section_type()}.
     319     * WP_Customize_Manager::register_section_type().
    320320     *
    321321     * @since 4.3.0
     322     * @access public
     323     *
     324     * @see WP_Customize_Manager::render_template()
    322325     */
    323326    public function print_template() {
     
    333336     *
    334337     * Class variables for this section class are available in the `data` JS object;
    335      * export custom variables by overriding {@see WP_Customize_Section::json()}.
     338     * export custom variables by overriding WP_Customize_Section::json().
     339     *
     340     * @since 4.3.0
     341     * @access protected
    336342     *
    337343     * @see WP_Customize_Section::print_template()
    338      *
    339      * @since 4.3.0
    340344     */
    341345    protected function render_template() {
     
    504508 *
    505509 * @since 4.3.0
     510 *
     511 * @see WP_Customize_Section
    506512 */
    507513class WP_Customize_Nav_Menu_Section extends WP_Customize_Section {
     
    511517     *
    512518     * @since 4.3.0
    513      *
    514519     * @access public
    515520     * @var string
     
    518523
    519524    /**
    520      * Get section params for JS.
     525     * Get section parameters for JS.
    521526     *
    522527     * @since 4.3.0
    523      *
    524      * @return array
     528     * @access public
     529     * @return array Exported parameters.
    525530     */
    526531    public function json() {
     
    538543 *
    539544 * @since 4.3.0
     545 *
     546 * @see WP_Customize_Section
    540547 */
    541548class WP_Customize_New_Menu_Section extends WP_Customize_Section {
     
    545552     *
    546553     * @since 4.3.0
    547      *
    548554     * @access public
    549555     * @var string
     
    555561     *
    556562     * @since 4.3.0
     563     * @access protected
    557564     */
    558565    protected function render() {
Note: See TracChangeset for help on using the changeset viewer.