Ticket #23406: 23406.diff
File 23406.diff, 4.8 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/nav-menu.php
29 29 * @since 3.0.0 30 30 * 31 31 * @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. 35 38 */ 36 39 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 37 40 global $_wp_nav_menu_max_depth; … … 243 246 * @since 3.0.0 244 247 * 245 248 * @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. 249 255 */ 250 256 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 251 257 global $_nav_menu_placeholder; -
src/wp-includes/category-template.php
813 813 * @see Walker::start_el() 814 814 * @since 2.1.0 815 815 * 816 * @param string $output Passed by reference. Used to append additional content.816 * @param string $output Passed by reference. Used to append additional content. 817 817 * @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. 820 824 */ 821 825 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 822 826 extract($args); -
src/wp-includes/class.wp-dependencies.php
363 363 * @access public 364 364 * @since 2.8.0 365 365 * 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. 370 371 */ 371 372 public function set_group( $handle, $recursion, $group ) { 372 373 $group = (int) $group; -
src/wp-includes/nav-menu-template.php
58 58 * @see Walker::start_el() 59 59 * @since 3.0.0 60 60 * 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. 66 69 */ 67 70 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 68 71 $indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';