Ticket #24860: 24860.2.diff
File 24860.2.diff, 2.2 KB (added by , 11 years ago) |
---|
-
wp-admin/nav-menus.php
471 471 wp_initial_nav_menu_meta_boxes(); 472 472 473 473 if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) 474 $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 Menu s” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>';474 $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 Menu” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>'; 475 475 476 476 if ( ! $locations_screen ) : // Main tab 477 477 $overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>'; 478 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menu s” widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>';478 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menu” widget on the <a href="%1$s">Widgets</a> screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>'; 479 479 $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>'; 480 480 $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>'; 481 481 $overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>';