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

git-svn-id: https://develop.svn.wordpress.org/trunk@24185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-05-07 14:55:14 +00:00
parent 63c3307f28
commit 3edcfbd798

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') );
$result = '<div id="menu-instructions" class="post-body-plain';
$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>';
if( empty($menu_items) )