Changeset 38574
- Timestamp:
- 09/08/2016 05:30:32 AM (8 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu-template.php
r38559 r38574 15 15 * 16 16 * @since 3.0.0 17 * @since 4.7.0 Added the `item_spacing` argument. 17 18 * 18 19 * @staticvar array $menu_id_slugs … … 41 42 * @type string $items_wrap How the list items should be wrapped. Default is a ul with an id and class. 42 43 * Uses printf() format with numbered placeholders. 43 * @type string $item_spacing Whether whitespace format the menu's HTML: 'discard' or 'preserve' (default).44 * @type string $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'. 44 45 * } 45 46 * @return object|false|void Menu output if $echo is false, false if there are no items or no menu was found. -
trunk/src/wp-includes/post-template.php
r38523 r38574 1110 1110 * 1111 1111 * @since 1.5.0 1112 * @since 4.7.0 Added the `item_spacing` argument. 1112 1113 * 1113 1114 * @see get_pages() … … 1139 1140 * @type string $title_li List heading. Passing a null or empty value will result in no heading, and the list 1140 1141 * will not be wrapped with unordered list `<ul>` tags. Default 'Pages'. 1141 * @type string $item_spacing Whether whitespace format the menu's HTML: 'discard' or 'preserve' (default).1142 * @type string $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'preserve'. 1142 1143 * @type Walker $walker Walker instance to use for listing pages. Default empty (Walker_Page). 1143 1144 * } … … 1233 1234 * @since 2.7.0 1234 1235 * @since 4.4.0 Added `menu_id`, `container`, `before`, `after`, and `walker` arguments. 1236 * @since 4.7.0 Added the `item_spacing` argument. 1235 1237 * 1236 1238 * @param array|string $args { … … 1250 1252 * @type string $before The HTML or text to prepend to the menu. Default is '<ul>'. 1251 1253 * @type string $after The HTML or text to append to the menu. Default is '</ul>'. 1252 * @type string $item_spacing Whether whitespace format the menu's HTML: 'discard' or 'preserve' (default).1254 * @type string $item_spacing Whether to preserve whitespace within the menu's HTML. Accepts 'preserve' or 'discard'. Default 'discard'. 1253 1255 * @type Walker $walker Walker instance to use for listing pages. Default empty (Walker_Page). 1254 1256 * }
Note: See TracChangeset
for help on using the changeset viewer.