Update the instructions on Edit Menus screen. props DrewAPicture. fixes #24261.

git-svn-id: http://core.svn.wordpress.org/trunk@24185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-05-07 14:55:14 +00:00
parent 164b3e71e6
commit e2dde2765c
1 changed files with 1 additions and 1 deletions

View File

@ -1131,7 +1131,7 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
$menu_items = wp_get_nav_menu_items( $menu->term_id, array('post_status' => 'any') ); $menu_items = wp_get_nav_menu_items( $menu->term_id, array('post_status' => 'any') );
$result = '<div id="menu-instructions" class="post-body-plain'; $result = '<div id="menu-instructions" class="post-body-plain';
$result .= ( ! empty($menu_items) ) ? ' menu-instructions-inactive">' : '">'; $result .= ( ! empty($menu_items) ) ? ' menu-instructions-inactive">' : '">';
$result .= '<p>' . __( 'Next, add menu items (i.e. pages, links, categories) from the column on the left.' ) . '</p>'; $result .= '<p>' . __( 'Add menu items (i.e. pages, links, categories) from the column on the left.' ) . '</p>';
$result .= '</div>'; $result .= '</div>';
if( empty($menu_items) ) if( empty($menu_items) )