Ticket #19272: ticket#19272.patch
File ticket#19272.patch, 1.1 KB (added by , 10 years ago) |
---|
-
src/wp-admin/nav-menus.php
559 559 foreach( $messages as $message ) : 560 560 echo $message . "\n"; 561 561 endforeach; 562 ?> 563 <?php 562 563 $menu_location_text = sprintf( _n( 'Your theme supports %s menu. Select which menu you would like to use.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ); 564 564 565 if ( $locations_screen ) : 565 echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu you would like to use.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>';566 echo '<p>' . apply_filters('nav_menu_theme_support_text',$menu_location_text , number_format_i18n( $num_locations ) ) . '</p>'; 566 567 ?> 567 568 <div id="menu-locations-wrap"> 568 569 <form method="post" action="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>">