mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 20:23:27 +02:00
After [31941], use the decoupled strings from WP_Customize_Manager::register_controls()
on the Menus screen.
see #28502. git-svn-id: https://develop.svn.wordpress.org/trunk@31951 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f1a04d2fb
commit
8e9a5a7156
@ -562,7 +562,11 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<?php
|
||||
if ( $locations_screen ) :
|
||||
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>';
|
||||
if ( 1 == $num_locations ) {
|
||||
echo '<p>' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . '</p>';
|
||||
} else {
|
||||
echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>';
|
||||
}
|
||||
?>
|
||||
<div id="menu-locations-wrap">
|
||||
<form method="post" action="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>">
|
||||
|
Loading…
x
Reference in New Issue
Block a user