Make WordPress Core

Changeset 37500


Ignore:
Timestamp:
05/22/2016 06:27:06 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/nav-menu-template.php to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37342 r37500  
    8787
    8888        /**
    89          * Filter the arguments for a single nav menu item.
     89         * Filters the arguments for a single nav menu item.
    9090         *
    9191         * @since 4.4.0
     
    9898
    9999        /**
    100          * Filter the CSS class(es) applied to a menu item's list item element.
     100         * Filters the CSS class(es) applied to a menu item's list item element.
    101101         *
    102102         * @since 3.0.0
     
    112112
    113113        /**
    114          * Filter the ID applied to a menu item's list item element.
     114         * Filters the ID applied to a menu item's list item element.
    115115         *
    116116         * @since 3.0.1
     
    134134
    135135        /**
    136          * Filter the HTML attributes applied to a menu item's anchor element.
     136         * Filters the HTML attributes applied to a menu item's anchor element.
    137137         *
    138138         * @since 3.6.0
     
    165165
    166166        /**
    167          * Filter a menu item's title.
     167         * Filters a menu item's title.
    168168         *
    169169         * @since 4.4.0
     
    183183
    184184        /**
    185          * Filter a menu item's starting output.
     185         * Filters a menu item's starting output.
    186186         *
    187187         * The menu item's starting output only includes `$args->before`, the opening `<a>`,
     
    259259    $args = wp_parse_args( $args, $defaults );
    260260    /**
    261      * Filter the arguments used to display a navigation menu.
     261     * Filters the arguments used to display a navigation menu.
    262262     *
    263263     * @since 3.0.0
     
    271271
    272272    /**
    273      * Filter whether to short-circuit the wp_nav_menu() output.
     273     * Filters whether to short-circuit the wp_nav_menu() output.
    274274     *
    275275     * Returning a non-null value to the filter will short-circuit
     
    341341    if ( $args->container ) {
    342342        /**
    343          * Filter the list of HTML tags that are valid for use as menu containers.
     343         * Filters the list of HTML tags that are valid for use as menu containers.
    344344         *
    345345         * @since 3.0.0
     
    378378
    379379    /**
    380      * Filter the sorted list of menu item objects before generating the menu's HTML.
     380     * Filters the sorted list of menu item objects before generating the menu's HTML.
    381381     *
    382382     * @since 3.1.0
     
    407407
    408408    /**
    409      * Filter the HTML list content for navigation menus.
     409     * Filters the HTML list content for navigation menus.
    410410     *
    411411     * @since 3.0.0
     
    418418    $items = apply_filters( 'wp_nav_menu_items', $items, $args );
    419419    /**
    420      * Filter the HTML list content for a specific navigation menu.
     420     * Filters the HTML list content for a specific navigation menu.
    421421     *
    422422     * @since 3.0.0
     
    440440
    441441    /**
    442      * Filter the HTML content for navigation menus.
     442     * Filters the HTML content for navigation menus.
    443443     *
    444444     * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.