WordPress.org

Make WordPress Core

Changeset 24218


Ignore:
Timestamp:
05/09/2013 03:06:14 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/nav-menus.php

    r24217 r24218  
    473473
    474474if ( ! 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 &#8220;Custom Menu&#8221; widget to add any menus you create here to the theme&#8217;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 &#8220;Custom Menus&#8221; widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>';
    476476
    477477if ( ! $locations_screen ) : // Main tab
    478478    $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 Menus widget 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 &#8220;Custom Menus&#8221; widget on the <a href="%s">Widgets</a> screen. ' ), admin_url( 'widgets.php') );
    480480    $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>';
    481481    $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
Note: See TracChangeset for help on using the changeset viewer.