Ticket #13378: 13378.4.diff
| File 13378.4.diff, 688 bytes (added by ryan, 3 years ago) |
|---|
-
wp-admin/includes/nav-menu.php
405 405 $locations = get_registered_nav_menus(); 406 406 $menus = wp_get_nav_menus(); 407 407 $menu_locations = get_nav_menu_locations(); 408 $num_locations = count( array_keys($locations) ); 408 409 410 echo '<p>' . sprintf( _n('Your theme supports %s menu. Assign a menu to your theme.', 'Your theme supports %s menus. Assign menus to your theme.', $num_locations), number_format_i18n($num_locations) ) . '</p>'; 411 409 412 foreach ( $locations as $location => $description ) { 410 413 ?> 411 414 <p>