Changeset 30543
- Timestamp:
- 11/24/2014 05:52:45 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r30203 r30543 2350 2350 * Filter the media upload mime type list items. 2351 2351 * 2352 * Returned values should begin with an <li>tag.2352 * Returned values should begin with an `<li>` tag. 2353 2353 * 2354 2354 * @since 3.1.0 -
trunk/src/wp-includes/ms-load.php
r28712 r30543 30 30 * 31 31 * The default directory is wp-content/plugins. To change the default directory 32 * manually, define <code>WP_PLUGIN_DIR</code> and <code>WP_PLUGIN_URL</code> 33 * in wp-config.php. 32 * manually, define `WP_PLUGIN_DIR` and `WP_PLUGIN_URL` in `wp-config.php`. 34 33 * 35 34 * @access private 36 35 * @since 3.1.0 37 * @return array Files to include 36 * 37 * @return array Files to include. 38 38 */ 39 39 function wp_get_active_network_plugins() { -
trunk/src/wp-includes/nav-menu-template.php
r30485 r30543 86 86 87 87 /** 88 * Filter the CSS class(es) applied to a menu item's <li>.88 * Filter the CSS class(es) applied to a menu item's li element. 89 89 * 90 90 * @since 3.0.0 91 91 * @since 4.1.0 The `$depth` parameter was added. 92 92 * 93 * @see wp_nav_menu() 94 * 95 * @param array $classes The CSS classes that are applied to the menu item's <li>. 93 * @param array $classes The CSS classes that are applied to the menu item's `<li>` element. 96 94 * @param object $item The current menu item. 97 * @param array $args An array of wp_nav_menu()arguments.95 * @param array $args An array of {@see wp_nav_menu()} arguments. 98 96 * @param int $depth Depth of menu item. Used for padding. 99 97 */ … … 102 100 103 101 /** 104 * Filter the ID applied to a menu item's <li>.102 * Filter the ID applied to a menu item's li element. 105 103 * 106 104 * @since 3.0.1 107 105 * @since 4.1.0 The `$depth` parameter was added. 108 106 * 109 * @see wp_nav_menu() 110 * 111 * @param string $menu_id The ID that is applied to the menu item's <li>. 107 * @param string $menu_id The ID that is applied to the menu item's `<li>` element. 112 108 * @param object $item The current menu item. 113 * @param array $args An array of wp_nav_menu()arguments.109 * @param array $args An array of {@see wp_nav_menu()} arguments. 114 110 * @param int $depth Depth of menu item. Used for padding. 115 111 */ … … 126 122 127 123 /** 128 * Filter the HTML attributes applied to a menu item's <a>.124 * Filter the HTML attributes applied to a menu item's 'a' element. 129 125 * 130 126 * @since 3.6.0 131 127 * @since 4.1.0 The `$depth` parameter was added. 132 128 * 133 * @see wp_nav_menu()134 *135 129 * @param array $atts { 136 * The HTML attributes applied to the menu item's <a>, empty strings are ignored.130 * The HTML attributes applied to the menu item's `<a>` element, empty strings are ignored. 137 131 * 138 132 * @type string $title Title attribute. … … 142 136 * } 143 137 * @param object $item The current menu item. 144 * @param array $args An array of wp_nav_menu()arguments.138 * @param array $args An array of {@see wp_nav_menu()} arguments. 145 139 * @param int $depth Depth of menu item. Used for padding. 146 140 */ … … 165 159 * Filter a menu item's starting output. 166 160 * 167 * The menu item's starting output only includes $args->before, the opening <a>,168 * the menu item's title, the closing </a>, and $args->after. Currently, there is169 * no filter for modifying the opening and closing <li>for a menu item.161 * The menu item's starting output only includes `$args->before`, the opening `<a>`, 162 * the menu item's title, the closing `</a>`, and `$args->after`. Currently, there is 163 * no filter for modifying the opening and closing `<li>` for a menu item. 170 164 * 171 165 * @since 3.0.0 172 *173 * @see wp_nav_menu()174 166 * 175 167 * @param string $item_output The menu item's starting HTML output. 176 168 * @param object $item Menu item data object. 177 169 * @param int $depth Depth of menu item. Used for padding. 178 * @param array $args An array of wp_nav_menu()arguments.170 * @param array $args An array of {@see wp_nav_menu()} arguments. 179 171 */ 180 172 $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
Note: See TracChangeset
for help on using the changeset viewer.