Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.
git-svn-id: http://core.svn.wordpress.org/trunk@24218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c8a8d6e0d
commit
8eeb2fe48d
|
@ -472,11 +472,11 @@ wp_nav_menu_setup();
|
|||
wp_initial_nav_menu_meta_boxes();
|
||||
|
||||
if ( ! current_theme_supports( 'menus' ) && ! $num_locations )
|
||||
$messages[] = '<div id="message" class="updated"><p>' . __('The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.') . '</p></div>';
|
||||
$messages[] = '<div id="message" class="updated"><p>' . sprintf( __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a “Custom Menus” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>';
|
||||
|
||||
if ( ! $locations_screen ) : // Main tab
|
||||
$overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>';
|
||||
$overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a Custom Menus widget on the <a href="%s">Widgets</a> screen. ' ), admin_url( 'widgets.php') );
|
||||
$overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menus” widget on the <a href="%s">Widgets</a> screen. ' ), admin_url( 'widgets.php') );
|
||||
$overview .= sprintf( __( 'If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>';
|
||||
$overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
|
||||
$overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>';
|
||||
|
|
Loading…
Reference in New Issue