git-svn-id: http://svn.automattic.com/wordpress/trunk@13723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2010-03-16 22:56:38 +00:00
parent 60f8f5a6aa
commit 7f826c2420

View File

@ -197,7 +197,7 @@ if ( !$nav_menu_selected_title && $nav_menu_selected_title = is_nav_menu( $nav_m
// The user has no menus. // The user has no menus.
if ( !is_nav_menu( $nav_menu_selected_id ) ) { if ( !is_nav_menu( $nav_menu_selected_id ) ) {
if ( current_theme_supports('nav-menus') ) { if ( current_theme_supports('nav-menus') ) {
$messages_div = '<div id="message" class="updated"><p>' . __('You haven\'t setup any menus yet. Create a new menu.') . '</p></div>'; $messages_div = '<div id="message" class="updated"><p>' . __('You do not have any menus. Create a new menu.') . '</p></div>';
} else { } else {
$messages_div = '<div id="message" class="error"><p>' . __('The current theme does not support menus.') . '</p></div>'; $messages_div = '<div id="message" class="error"><p>' . __('The current theme does not support menus.') . '</p></div>';
} }