Make WordPress Core

Ticket #24860: 24860.2.diff

File 24860.2.diff, 2.2 KB (added by SergeyBiryukov, 11 years ago)
  • wp-admin/nav-menus.php

     
    471471wp_initial_nav_menu_meta_boxes();
    472472
    473473if ( ! 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 &#8220;Custom Menus&#8221; 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 &#8220;Custom Menu&#8221; widget on the <a href="%s">Widgets</a> screen.' ), admin_url( 'widgets.php' ) ) . '</p></div>';
    475475
    476476if ( ! $locations_screen ) : // Main tab
    477477        $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 &#8220;Custom Menus&#8221; 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 &#8220;Custom Menu&#8221; 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>';
    479479        $overview .= '<p>' . __( 'From this screen you can:' ) . '</p>';
    480480        $overview .= '<ul><li>' . __( 'Create, edit, and delete menus' ) . '</li>';
    481481        $overview .= '<li>' . __( 'Add, organize, and modify individual menu items' ) . '</li></ul>';