WordPress.org

Make WordPress Core

Changeset 37639


Ignore:
Timestamp:
06/06/2016 05:46:20 AM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Relocate some @see tags and add missing @access tags to method and property DocBlocks in Walker_Nav_Menu.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/nav-menu-template.php

    r37638 r37639  
    1818     * What the class handles.
    1919     *
     20     * @since 3.0.0
     21     * @access public
     22     * @var string
     23     *
    2024     * @see Walker::$tree_type
    21      * @since 3.0.0
    22      * @var string
    2325     */
    2426    public $tree_type = array( 'post_type', 'taxonomy', 'custom' );
     
    2729     * Database fields to use.
    2830     *
    29      * @see Walker::$db_fields
    30      * @since 3.0.0
     31     * @since 3.0.0
     32     * @access public
    3133     * @todo Decouple this.
    3234     * @var array
     35     *
     36     * @see Walker::$db_fields
    3337     */
    3438    public $db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' );
     
    3741     * Starts the list before the elements are added.
    3842     *
     43     * @since 3.0.0
     44     *
    3945     * @see Walker::start_lvl()
    40      *
    41      * @since 3.0.0
    4246     *
    4347     * @param string $output Passed by reference. Used to append additional content.
     
    5357     * Ends the list of after the elements are added.
    5458     *
     59     * @since 3.0.0
     60     *
    5561     * @see Walker::end_lvl()
    56      *
    57      * @since 3.0.0
    5862     *
    5963     * @param string $output Passed by reference. Used to append additional content.
     
    6973     * Starts the element output.
    7074     *
     75     * @since 3.0.0
     76     * @since 4.4.0 The {@see 'nav_menu_item_args'} filter was added.
     77     *
    7178     * @see Walker::start_el()
    72      *
    73      * @since 3.0.0
    74      * @since 4.4.0 The {@see 'nav_menu_item_args'} filter was added.
    7579     *
    7680     * @param string $output Passed by reference. Used to append additional content.
     
    202206     * Ends the element output, if needed.
    203207     *
     208     * @since 3.0.0
     209     *
    204210     * @see Walker::end_el()
    205      *
    206      * @since 3.0.0
    207211     *
    208212     * @param string $output Passed by reference. Used to append additional content.
Note: See TracChangeset for help on using the changeset viewer.