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:
parent
63c3307f28
commit
3edcfbd798
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user