Changeset 24218
- Timestamp:
- 05/09/2013 03:06:14 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r24217 r24218 473 473 474 474 if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) 475 $messages[] = '<div id="message" class="updated"><p>' . __('The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.') . '</p></div>';475 $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 Menus” widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>'; 476 476 477 477 if ( ! $locations_screen ) : // Main tab 478 478 $overview = '<p>' . __( 'This screen is used for managing your custom navigation menus.' ) . '</p>'; 479 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a Custom Menuswidget on the <a href="%s">Widgets</a> screen. ' ), admin_url( 'widgets.php') );479 $overview .= '<p>' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menus” widget on the <a href="%s">Widgets</a> screen. ' ), admin_url( 'widgets.php') ); 480 480 $overview .= sprintf( __( 'If your theme does not support the custom menus feature (the default themes, %1$s and %2$s, do), you can learn about adding this support by following the Documentation link to the side.' ), 'Twenty Thirteen', 'Twenty Twelve' ) . '</p>'; 481 481 $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
Note: See TracChangeset
for help on using the changeset viewer.