WordPress.org

Make WordPress Core

Ticket #11817: 13711.diff

File 13711.diff, 608 bytes (added by jorbin, 4 years ago)

Spelling fix to menu navigation widget when no menus are active

  • wp-includes/default-widgets.php

     
    10801080                 
    10811081                // If no menus exists, direct the user to go and create some. 
    10821082                if ( !$menus ) { 
    1083                         echo '<p>'. sprintf( __('No menus have been created yet. <a href="%s">Creat some</a>.'), admin_url('nav-menus.php') ) .'</p>'; 
     1083                        echo '<p>'. sprintf( __('No menus have been created yet. <a href="%s">Create some</a>.'), admin_url('nav-menus.php') ) .'</p>'; 
    10841084                        return; 
    10851085                } 
    10861086                ?>