Make WordPress Core

Ticket #23406: 23406.diff

File 23406.diff, 4.8 KB (added by DrewAPicture, 11 years ago)

Docs

  • src/wp-admin/includes/nav-menu.php

     
    2929         * @since 3.0.0
    3030         *
    3131         * @param string $output Passed by reference. Used to append additional content.
    32          * @param object $item Menu item data object.
    33          * @param int $depth Depth of menu item. Used for padding.
    34          * @param object $args
     32         * @param object $item   Menu item data object.
     33         * @param int    $depth  Depth of menu item. Used for padding.
     34         *                       Default 0.
     35         * @param array  $args   An optional arguments. @see wp_nav_menu
     36         * @param int    $id     The menu item ID.
     37         *                       Default 0.
    3538         */
    3639        function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
    3740                global $_wp_nav_menu_max_depth;
     
    243246         * @since 3.0.0
    244247         *
    245248         * @param string $output Passed by reference. Used to append additional content.
    246          * @param object $item Menu item data object.
    247          * @param int $depth Depth of menu item. Used for padding.
    248          * @param object $args
     249         * @param object $item   Menu item data object.
     250         * @param int    $depth  Depth of menu item. Used for padding.
     251         *                       Default 0.
     252         * @param array  $args   An optional array of arguments. @see wp_nav_menu_item_post_type_meta_box(), wp_nav_menu_item_taxonomy_meta_box()
     253         *                       Default empty array.
     254         * @param int    $id     The menu item ID.
    249255         */
    250256        function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
    251257                global $_nav_menu_placeholder;
  • src/wp-includes/category-template.php

     
    813813         * @see Walker::start_el()
    814814         * @since 2.1.0
    815815         *
    816          * @param string $output Passed by reference. Used to append additional content.
     816         * @param string $output   Passed by reference. Used to append additional content.
    817817         * @param object $category Category data object.
    818          * @param int $depth Depth of category in reference to parents.
    819          * @param array $args
     818         * @param int    $depth    Depth of category in reference to parents.
     819         *                         Default 0.
     820         * @param array  $args     An optional array of arguments. @see wp_list_categories()
     821         *                         Default empty array.
     822         * @param int    $id       The category ID.
     823         *                         Default 0.
    820824         */
    821825        function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
    822826                extract($args);
  • src/wp-includes/class.wp-dependencies.php

     
    363363         * @access public
    364364         * @since 2.8.0
    365365         *
    366          * @param string $handle    Name of the item. Should be unique.
    367          * @param bool   $recursion Internal flag that calling function was called recursively.
    368          * @param mixed  $group     Group level.
    369          * @return bool Not already in the group or a lower group
     366         * @param string      $handle    Name of the item. Should be unique.
     367         * @param bool        $recursion Internal flag that calling function was called recursively.
     368         * @param string|bool $group     Group level equal to the item handle.
     369         *                               Default false.
     370         * @return bool True if not already in the group or a lower group, false otherwise.
    370371         */
    371372        public function set_group( $handle, $recursion, $group ) {
    372373                $group = (int) $group;
  • src/wp-includes/nav-menu-template.php

     
    5858         * @see Walker::start_el()
    5959         * @since 3.0.0
    6060         *
    61          * @param string $output Passed by reference. Used to append additional content.
    62          * @param object $item Menu item data object.
    63          * @param int $depth Depth of menu item. Used for padding.
    64          * @param int $current_page Menu item ID.
    65          * @param object $args
     61         * @param string $output       Passed by reference. Used to append additional content.
     62         * @param object $item         Menu item data object.
     63         * @param int    $depth        Depth of menu item. Used for padding.
     64         * @param int    $current_page Menu item ID.
     65         * @param array  $args         An optional array of arguments. @see wp_nav_menu()
     66         *                             Default empty array.
     67         * @param int    $id           The menu item ID.
     68         *                             Default 0.
    6669         */
    6770        function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
    6871                $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';