WordPress.org

Make WordPress Core

Ticket #38913: 38913.2.patch

File 38913.2.patch, 79.1 KB (added by aandrewdixon, 22 months ago)

Trying again as my first attempt somehow missed the whole wp-includes directory when I was searching, plus I found some other words like haven't, couldn't, etc... that needed changing as well.

  • src/wp-includes/script-loader.php

     
    14491449                        'takenOverMessage'        => __( '%s has taken over and is currently customizing.' ),
    14501450                        /* translators: %s: URL to the Customizer to load the autosaved version */
    14511451                        'autosaveNotice'          => __( 'There is a more recent autosave of your changes than the one you are previewing. <a href="%s">Restore the autosave</a>' ),
    1452                         'videoHeaderNotice'       => __( 'This theme doesn&#8217;t support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
     1452                        'videoHeaderNotice'       => __( 'This theme does not support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
    14531453                        // Used for overriding the file types allowed in plupload.
    14541454                        'allowedFiles'            => __( 'Allowed Files' ),
    14551455                        'customCssError'          => array(
     
    14661466                                'plural'   => _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491.
    14671467                        ),
    14681468                        'scheduleDescription'     => __( 'Schedule your customization changes to publish ("go live") at a future date.' ),
    1469                         'themePreviewUnavailable' => __( 'Sorry, you can&#8217;t preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish to preview new themes.' ),
     1469                        'themePreviewUnavailable' => __( 'Sorry, you cannot preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish to preview new themes.' ),
    14701470                        'themeInstallUnavailable' => sprintf(
    14711471                                /* translators: %s: URL to Add Themes admin screen */
    1472                                    __( 'You won&#8217;t be able to install new themes from here yet since your install requires SFTP credentials. For now, please <a href="%s">add themes in the admin</a>.' ),
     1472                                   __( 'You will not be able to install new themes from here yet since your install requires SFTP credentials. For now, please <a href="%s">add themes in the admin</a>.' ),
    14731473                                esc_url( admin_url( 'theme-install.php' ) )
    14741474                        ),
    14751475                        'publishSettings'         => __( 'Publish Settings' ),
     
    22892289                                 * or country. Use the endonym (native locale name) instead of the
    22902290                                 * English name if possible.
    22912291                                 */
    2292                                 'could_not_locate_city'           => __( 'We couldn&#8217;t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
     2292                                'could_not_locate_city'           => __( 'We could not locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
    22932293
    22942294                                // This one is only used with wp.a11y.speak(), so it can/should be more brief.
    22952295                                /* translators: %s: the name of a city */
  • src/wp-admin/custom-background.php

     
    9090                                        '<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' .
    9191                                        '<p>' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the &#8220;Choose Image&#8221; button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' .
    9292                                        '<p>' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
    93                                         '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>',
     93                                        '<p>' . __( 'Do not forget to click on the Save Changes button when you are finished.' ) . '</p>',
    9494                        )
    9595                );
    9696
  • src/wp-admin/custom-header.php

     
    109109                                        '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately. Alternatively, you can use an image that has already been uploaded to your Media Library by clicking the &#8220;Choose Image&#8221; button.' ) . '</p>' .
    110110                                        '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the &#8220;Save Changes&#8221; button.' ) . '</p>' .
    111111                                        '<p>' . __( 'If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the &#8220;Random&#8221; radio button next to the Uploaded Images or Default Images section to enable this feature.' ) . '</p>' .
    112                                         '<p>' . __( 'If you don&#8217;t want a header image to be displayed on your site at all, click the &#8220;Remove Header Image&#8221; button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click &#8220;Save Changes&#8221;.' ) . '</p>',
     112                                        '<p>' . __( 'If you do not want a header image to be displayed on your site at all, click the &#8220;Remove Header Image&#8221; button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click &#8220;Save Changes&#8221;.' ) . '</p>',
    113113                        )
    114114                );
    115115
     
    120120                                'content' =>
    121121                                        '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' .
    122122                                        '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' .
    123                                         '<p>' . __( 'Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!' ) . '</p>',
     123                                        '<p>' . __( 'Do not forget to click &#8220;Save Changes&#8221; when you&#8217;re done!' ) . '</p>',
    124124                        )
    125125                );
    126126
  • src/wp-admin/edit-link-form.php

     
    6464                'title'   => __( 'Overview' ),
    6565                'content' =>
    6666                '<p>' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '</p>' .
    67                 '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don&#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' .
     67                '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you do not use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' .
    6868                '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>',
    6969        )
    7070);
     
    120120<h2><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
    121121<div class="inside">
    122122        <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
    123         <p><?php _e( 'Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>' ); ?></p>
     123        <p><?php _e( 'Example: <code>http://wordpress.org/</code> &#8212; do not forget the <code>http://</code>' ); ?></p>
    124124</div>
    125125</div>
    126126
  • src/wp-admin/edit-tags.php

     
    157157                $term    = get_term( $term_id );
    158158
    159159                if ( ! $term instanceof WP_Term ) {
    160                         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     160                        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    161161                }
    162162
    163163                wp_redirect( esc_url_raw( get_edit_term_link( $term_id, $taxonomy, $post_type ) ) );
     
    177177
    178178                $tag = get_term( $tag_ID, $taxonomy );
    179179                if ( ! $tag ) {
    180                         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     180                        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    181181                }
    182182
    183183                $ret = wp_update_term( $tag_ID, $taxonomy, $_POST );
  • src/wp-admin/freedoms.php

     
    9292                                $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    9393                                $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    9494
    95                                 printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
     95                                printf( __( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they do not respect the WordPress license, we do not recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
    9696                        ?>
    9797                        </p>
    9898
    99                         <p><?php _e( 'Don&#8217;t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
     99                        <p><?php _e( 'Do not you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
    100100                </div>
    101101        </div>
    102102</div>
  • src/wp-admin/install.php

     
    328328<p><?php _e( 'Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you&#8217;ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ); ?></p>
    329329
    330330<h2><?php _e( 'Information needed' ); ?></h2>
    331 <p><?php _e( 'Please provide the following information. Don&#8217;t worry, you can always change these settings later.' ); ?></p>
     331<p><?php _e( 'Please provide the following information. Do not worry, you can always change these settings later.' ); ?></p>
    332332
    333333                <?php
    334334                display_setup_form();
     
    375375                        $error = true;
    376376                } elseif ( ! is_email( $admin_email ) ) {
    377377                        // TODO: poka-yoke
    378                         display_setup_form( __( 'Sorry, that isn&#8217;t a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
     378                        display_setup_form( __( 'Sorry, that is not a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
    379379                        $error = true;
    380380                }
    381381
  • src/wp-admin/media.php

     
    6363                $att = get_post( $att_id );
    6464
    6565                if ( empty( $att->ID ) ) {
    66                         wp_die( __( 'You attempted to edit an attachment that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     66                        wp_die( __( 'You attempted to edit an attachment that does not exist. Perhaps it was deleted?' ) );
    6767                }
    6868                if ( 'attachment' !== $att->post_type ) {
    69                         wp_die( __( 'You attempted to edit an item that isn&#8217;t an attachment. Please go back and try again.' ) );
     69                        wp_die( __( 'You attempted to edit an item that is not an attachment. Please go back and try again.' ) );
    7070                }
    7171                if ( $att->post_status == 'trash' ) {
    72                         wp_die( __( 'You can&#8217;t edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );
     72                        wp_die( __( 'You cannot edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );
    7373                }
    7474
    7575                add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );
  • src/wp-admin/nav-menus.php

     
    550550
    551551        $menu_management  = '<p>' . __( 'The menu management box at the top of the screen is used to control which menu is opened in the editor below.' ) . '</p>';
    552552        $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the drop down and click Select</strong>' ) . '</li>';
    553         $menu_management .= '<li>' . __( 'If you haven&#8217;t yet created any menus, <strong>click the &#8217;create a new menu&#8217; link</strong> to get started' ) . '</li></ul>';
     553        $menu_management .= '<li>' . __( 'If you have not yet created any menus, <strong>click the &#8217;create a new menu&#8217; link</strong> to get started' ) . '</li></ul>';
    554554        $menu_management .= '<p>' . __( 'You can assign theme locations to individual menus by <strong>selecting the desired settings</strong> at the bottom of the menu editor. To assign menus to all theme locations at once, <strong>visit the Manage Locations tab</strong> at the top of the screen.' ) . '</p>';
    555555
    556556        get_current_screen()->add_help_tab(
     
    751751                <span class="add-edit-menu-action">
    752752                        <?php
    753753                        printf(
    754                                 __( 'Edit your menu below, or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ),
     754                                __( 'Edit your menu below, or <a href="%s">create a new menu</a>. Do not forget to save your changes!' ),
    755755                                esc_url(
    756756                                        add_query_arg(
    757757                                                array(
     
    812812                        <span class="add-new-menu-action">
    813813                                <?php
    814814                                printf(
    815                                         __( 'or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ),
     815                                        __( 'or <a href="%s">create a new menu</a>. Do not forget to save your changes!' ),
    816816                                        esc_url(
    817817                                                add_query_arg(
    818818                                                        array(
  • src/wp-admin/options-discussion.php

     
    2121        array(
    2222                'id'      => 'overview',
    2323                'title'   => __( 'Overview' ),
    24                 'content' => '<p>' . __( 'This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation links to get information on what each discussion setting does.' ) . '</p>' .
     24                'content' => '<p>' . __( 'This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they will not all fit here! :) Use the documentation links to get information on what each discussion setting does.' ) . '</p>' .
    2525                        '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
    2626        )
    2727);
  • src/wp-admin/options-permalink.php

     
    326326                                <?php
    327327                                printf(
    328328                                        /* translators: 1: web.config, 2: Codex URL, 3: CTRL + a, 4: element code */
    329                                         __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;t so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s to select all. Then insert this rule inside of the %4$s element in %1$s file.' ),
     329                                        __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it is not so this is the url rewrite rule you should have in your %1$s file. Click in the field and press %3$s to select all. Then insert this rule inside of the %4$s element in %1$s file.' ),
    330330                                        '<code>web.config</code>',
    331331                                        __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
    332332                                        '<kbd>CTRL + a</kbd>',
     
    352352                        <?php
    353353                        printf(
    354354                                /* translators: 1: Codex URL, 2: web.config, 3: CTRL + a */
    355                                 __( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it isn&#8217;t so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ),
     355                                __( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it is not so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ),
    356356                                __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
    357357                                '<code>web.config</code>',
    358358                                '<kbd>CTRL + a</kbd>'
     
    384384                <?php
    385385                printf(
    386386                        /* translators: 1: .htaccess, 2: Codex URL, 3: CTRL + a */
    387                         __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s to select all.' ),
     387                        __( 'If your %1$s file was <a href="%2$s">writable</a>, we could do this automatically, but it is not so these are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s to select all.' ),
    388388                        '<code>.htaccess</code>',
    389389                        __( 'https://codex.wordpress.org/Changing_File_Permissions' ),
    390390                        '<kbd>CTRL + a</kbd>'
  • src/wp-admin/plugin-editor.php

     
    123123                        'title'   => __( 'Overview' ),
    124124                        'content' =>
    125125                                         '<p>' . __( 'You can use the plugin editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.' ) . '</p>' .
    126                                          '<p>' . __( 'Choose a plugin to edit from the dropdown menu and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.' ) . '</p>' .
     126                                         '<p>' . __( 'Choose a plugin to edit from the dropdown menu and click the Select button. Click once on any file name to load it in the editor, and make your changes. Do not forget to save your changes (Update File) when you&#8217;re finished.' ) . '</p>' .
    127127                                         '<p>' . __( 'The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Look Up takes you to a web page about that particular function.' ) . '</p>' .
    128128                                         '<p id="editor-keyboard-trap-help-1">' . __( 'When using a keyboard to navigate:' ) . '</p>' .
    129129                                         '<ul>' .
     
    131131                                         '<li id="editor-keyboard-trap-help-3">' . __( 'To move away from this area, press the Esc key followed by the Tab key.' ) . '</li>' .
    132132                                         '<li id="editor-keyboard-trap-help-4">' . __( 'Screen reader users: when in forms mode, you may need to press the Esc key twice.' ) . '</li>' .
    133133                                         '</ul>' .
    134                                          '<p>' . __( 'If you want to make changes but don&#8217;t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below.' ) . '</p>' .
     134                                         '<p>' . __( 'If you want to make changes but do not want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below.' ) . '</p>' .
    135135                                         ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ),
    136136                )
    137137        );
     
    305305                <div class="file-editor-warning-content">
    306306                        <div class="file-editor-warning-message">
    307307                                <h1><?php _e( 'Heads up!' ); ?></h1>
    308                                 <p><?php _e( 'You appear to be making direct edits to your plugin in the WordPress dashboard. We recommend that you don&#8217;t! Editing plugins directly may introduce incompatibilities that break your site and your changes may be lost in future updates.' ); ?></p>
     308                                <p><?php _e( 'You appear to be making direct edits to your plugin in the WordPress dashboard. We recommend that you do not! Editing plugins directly may introduce incompatibilities that break your site and your changes may be lost in future updates.' ); ?></p>
    309309                                <p><?php _e( 'If you absolutely have to make direct edits to this plugin, use a file manager to create a copy with a new name and hang on to the original. That way, you can re-enable a functional version if something goes wrong.' ); ?></p>
    310310                        </div>
    311311                        <p>
  • src/wp-admin/plugins.php

     
    453453                                 '<p>' . __( 'Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&#8217;s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.' ) . '</p>' .
    454454                                '<p>' . sprintf(
    455455                                        /* translators: WP_PLUGIN_DIR constant value */
    456                                          __( 'If something goes wrong with a plugin and you can&#8217;t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ),
     456                                         __( 'If something goes wrong with a plugin and you cannot use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ),
    457457                                        '<code>' . WP_PLUGIN_DIR . '</code>'
    458458                                ) . '</p>',
    459459        )
  • src/wp-admin/post.php

     
    115115                }
    116116
    117117                if ( ! $post ) {
    118                         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     118                        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    119119                }
    120120
    121121                if ( ! $post_type_object ) {
     
    131131                }
    132132
    133133                if ( 'trash' == $post->post_status ) {
    134                         wp_die( __( 'You can&#8217;t edit this item because it is in the Trash. Please restore it and try again.' ) );
     134                        wp_die( __( 'You cannot edit this item because it is in the Trash. Please restore it and try again.' ) );
    135135                }
    136136
    137137                if ( ! empty( $_GET['get-post-lock'] ) ) {
  • src/wp-admin/setup-config.php

     
    176176                <?php
    177177                /* translators: 1: wp-config-sample.php, 2: wp-config.php */
    178178                printf(
    179                         __( 'If for any reason this automatic file creation doesn&#8217;t work, don&#8217;t worry. All this does is fill in the database information to a configuration file. You may also simply open %1$s in a text editor, fill in your information, and save it as %2$s.' ),
     179                        __( 'If for any reason this automatic file creation does not work, do not worry. All this does is fill in the database information to a configuration file. You may also simply open %1$s in a text editor, fill in your information, and save it as %2$s.' ),
    180180                        '<code>wp-config-sample.php</code>',
    181181                        '<code>wp-config.php</code>'
    182182                );
     
    190190                );
    191191                ?>
    192192</p>
    193 <p><?php _e( 'In all likelihood, these items were supplied to you by your Web Host. If you don&#8217;t have this information, then you will need to contact them before you can continue. If you&#8217;re all ready&hellip;' ); ?></p>
     193<p><?php _e( 'In all likelihood, these items were supplied to you by your Web Host. If you do not have this information, then you will need to contact them before you can continue. If you&#8217;re all ready&hellip;' ); ?></p>
    194194
    195195<p class="step"><a href="<?php echo $step_1; ?>" class="button button-large"><?php _e( 'Let&#8217;s go!' ); ?></a></p>
    196196                <?php
     
    229229                        <td>
    230230                        <?php
    231231                                /* translators: %s: localhost */
    232                                 printf( __( 'You should be able to get this info from your web host, if %s doesn&#8217;t work.' ), '<code>localhost</code>' );
     232                                printf( __( 'You should be able to get this info from your web host, if %s does not work.' ), '<code>localhost</code>' );
    233233                        ?>
    234234                        </td>
    235235                </tr>
     
    393393        <p>
    394394                        <?php
    395395                        /* translators: %s: wp-config.php */
    396                         printf( __( 'Sorry, but I can&#8217;t write the %s file.' ), '<code>wp-config.php</code>' );
     396                        printf( __( 'Sorry, but I cannot write the %s file.' ), '<code>wp-config.php</code>' );
    397397                        ?>
    398398</p>
    399399<p>
  • src/wp-admin/term.php

     
    2323$tag    = get_term( $tag_ID, $taxnow, OBJECT, 'edit' );
    2424
    2525if ( ! $tag instanceof WP_Term ) {
    26         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     26        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    2727}
    2828
    2929$tax      = get_taxonomy( $tag->taxonomy );
  • src/wp-admin/theme-editor.php

     
    345345                                        <?php
    346346                                        echo sprintf(
    347347                                                /* translators: %s: link to documentation on child themes */
    348                                                 __( 'You appear to be making direct edits to your theme in the WordPress dashboard. We recommend that you don&#8217;t! Editing your theme directly could break your site and your changes may be lost in future updates. If you need to tweak more than your theme&#8217;s CSS, you might want to try <a href="%s">making a child theme</a>.' ),
     348                                                __( 'You appear to be making direct edits to your theme in the WordPress dashboard. We recommend that you do not! Editing your theme directly could break your site and your changes may be lost in future updates. If you need to tweak more than your theme&#8217;s CSS, you might want to try <a href="%s">making a child theme</a>.' ),
    349349                                                esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) )
    350350                                        );
    351351                                        ?>
  • src/wp-admin/update-core.php

     
    298298                $compatible_php = ( empty( $plugin_data->update->requires_php ) || version_compare( phpversion(), $plugin_data->update->requires_php, '>=' ) );
    299299
    300300                if ( ! $compatible_php && current_user_can( 'update_php' ) ) {
    301                         $compat .= '<br>' . __( 'This update doesn&#8217;t work with your version of PHP.' ) . '&nbsp;';
     301                        $compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . '&nbsp;';
    302302                        /* translators: %s: Update PHP page URL */
    303303                        $compat .= sprintf(
    304304                                __( '<a href="%s">Learn more about updating PHP.</a>' ),
  • src/wp-admin/user-new.php

     
    216216
    217217if ( is_multisite() ) {
    218218        $help .= '<p>' . __( 'Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user&#8217;s name to Edit the user profile under Network Admin > All Users.' ) . '</p>' .
    219         '<p>' . __( 'New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you don&#8217;t want the user to receive a welcome email.' ) . '</p>';
     219        '<p>' . __( 'New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you do not want the user to receive a welcome email.' ) . '</p>';
    220220} else {
    221221        $help .= '<p>' . __( 'New users are automatically assigned a password, which they can change after logging in. You can view or edit the assigned password by clicking the Show Password button. The username cannot be changed once the user has been added.' ) . '</p>' .
    222222
    223         '<p>' . __( 'By default, new users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain a password reset link. Uncheck the box if you don&#8217;t want to send the new user a welcome email.' ) . '</p>';
     223        '<p>' . __( 'By default, new users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain a password reset link. Uncheck the box if you do not want to send the new user a welcome email.' ) . '</p>';
    224224}
    225225
    226226$help .= '<p>' . __( 'Remember to click the Add New User button at the bottom of this screen when you are finished.' ) . '</p>';
  • src/wp-admin/users.php

     
    349349                check_admin_referer( 'remove-users' );
    350350
    351351                if ( ! is_multisite() ) {
    352                         wp_die( __( 'You can&#8217;t remove users.' ), 400 );
     352                        wp_die( __( 'You cannot remove users.' ), 400 );
    353353                }
    354354
    355355                if ( empty( $_REQUEST['users'] ) ) {
     
    381381                check_admin_referer( 'bulk-users' );
    382382
    383383                if ( ! is_multisite() ) {
    384                         wp_die( __( 'You can&#8217;t remove users.' ), 400 );
     384                        wp_die( __( 'You cannot remove users.' ), 400 );
    385385                }
    386386
    387387                if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) {
     
    507507                                        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other user roles have been changed.' ) . '</p></div>';
    508508                                        break;
    509509                                case 'err_admin_del':
    510                                         $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can&#8217;t delete the current user.' ) . '</p></div>';
     510                                        $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You cannot delete the current user.' ) . '</p></div>';
    511511                                        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other users have been deleted.' ) . '</p></div>';
    512512                                        break;
    513513                                case 'remove':
     
    514514                                        $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'User removed from this site.' ) . '</p></div>';
    515515                                        break;
    516516                                case 'err_admin_remove':
    517                                         $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You can't remove the current user." ) . '</p></div>';
     517                                        $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You cannot remove the current user." ) . '</p></div>';
    518518                                        $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'Other users have been removed.' ) . '</p></div>';
    519519                                        break;
    520520                        }
  • src/wp-admin/widgets.php

     
    8585);
    8686
    8787if ( ! current_theme_supports( 'widgets' ) ) {
    88         wp_die( __( 'The theme you are currently using isn&#8217;t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://codex.wordpress.org/Widgetizing_Themes">follow these instructions</a>.' ) );
     88        wp_die( __( 'The theme you are currently using is not widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please <a href="https://codex.wordpress.org/Widgetizing_Themes">follow these instructions</a>.' ) );
    8989}
    9090
    9191// These are the widgets grouped by sidebar
  • src/wp-admin/includes/class-ftp.php

     
    480480                        return FALSE;
    481481                }
    482482                if($this->_curtype!=FTP_BINARY) {
    483                         $this->PushError("restore", "can't restore in ASCII mode");
     483                        $this->PushError("restore", "cannot restore in ASCII mode");
    484484                        return FALSE;
    485485                }
    486486                if(!$this->_exec("REST ".$from, "resore")) return FALSE;
     
    553553                if (@file_exists($localfile)) $this->SendMSG("Warning : local file will be overwritten");
    554554                $fp = @fopen($localfile, "w");
    555555                if (!$fp) {
    556                         $this->PushError("get","can't open local file", "Cannot create \"".$localfile."\"");
     556                        $this->PushError("get","cannot open local file", "Cannot create \"".$localfile."\"");
    557557                        return FALSE;
    558558                }
    559559                if($this->_can_restore and $rest!=0) fseek($fp, $rest);
     
    610610        function put($localfile, $remotefile=NULL, $rest=0) {
    611611                if(is_null($remotefile)) $remotefile=$localfile;
    612612                if (!file_exists($localfile)) {
    613                         $this->PushError("put","can't open local file", "No such file or directory \"".$localfile."\"");
     613                        $this->PushError("put","cannot open local file", "No such file or directory \"".$localfile."\"");
    614614                        return FALSE;
    615615                }
    616616                $fp = @fopen($localfile, "r");
    617617
    618618                if (!$fp) {
    619                         $this->PushError("put","can't open local file", "Cannot read file \"".$localfile."\"");
     619                        $this->PushError("put","cannot open local file", "Cannot read file \"".$localfile."\"");
    620620                        return FALSE;
    621621                }
    622622                if($this->_can_restore and $rest!=0) fseek($fp, $rest);
     
    649649        function mput($local=".", $remote=NULL, $continious=false) {
    650650                $local=realpath($local);
    651651                if(!@file_exists($local)) {
    652                         $this->PushError("mput","can't open local folder", "Cannot stat folder \"".$local."\"");
     652                        $this->PushError("mput","cannot open local folder", "Cannot stat folder \"".$local."\"");
    653653                        return FALSE;
    654654                }
    655655                if(!is_dir($local)) return $this->put($local, $remote);
     
    662662                        }
    663663                        closedir($handle);
    664664                } else {
    665                         $this->PushError("mput","can't open local folder", "Cannot read folder \"".$local."\"");
     665                        $this->PushError("mput","cannot open local folder", "Cannot read folder \"".$local."\"");
    666666                        return FALSE;
    667667                }
    668668                if(empty($list)) return TRUE;
     
    682682        function mget($remote, $local=".", $continious=false) {
    683683                $list=$this->rawlist($remote, "-lA");
    684684                if($list===false) {
    685                         $this->PushError("mget","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
     685                        $this->PushError("mget","cannot read remote folder list", "Cannot read remote folder \"".$remote."\" contents");
    686686                        return FALSE;
    687687                }
    688688                if(empty($list)) return true;
    689689                if(!@file_exists($local)) {
    690690                        if(!@mkdir($local)) {
    691                                 $this->PushError("mget","can't create local folder", "Cannot create folder \"".$local."\"");
     691                                $this->PushError("mget","cannot create local folder", "Cannot create folder \"".$local."\"");
    692692                                return FALSE;
    693693                        }
    694694                }
     
    700700                foreach($list as $el) {
    701701                        if($el["type"]=="d") {
    702702                                if(!$this->mget($remote."/".$el["name"], $local."/".$el["name"], $continious)) {
    703                                         $this->PushError("mget", "can't copy folder", "Can't copy remote folder \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\"");
     703                                        $this->PushError("mget", "cannot copy folder", "Cannot copy remote folder \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\"");
    704704                                        $ret=false;
    705705                                        if(!$continious) break;
    706706                                }
    707707                        } else {
    708708                                if(!$this->get($remote."/".$el["name"], $local."/".$el["name"])) {
    709                                         $this->PushError("mget", "can't copy file", "Can't copy remote file \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\"");
     709                                        $this->PushError("mget", "cannot copy file", "Cannot copy remote file \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\"");
    710710                                        $ret=false;
    711711                                        if(!$continious) break;
    712712                                }
     
    721721        function mdel($remote, $continious=false) {
    722722                $list=$this->rawlist($remote, "-la");
    723723                if($list===false) {
    724                         $this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
     724                        $this->PushError("mdel","cannot read remote folder list", "Cannot read remote folder \"".$remote."\" contents");
    725725                        return false;
    726726                }
    727727
     
    742742                                }
    743743                        } else {
    744744                                if (!$this->delete($remote."/".$el["name"])) {
    745                                         $this->PushError("mdel", "can't delete file", "Can't delete remote file \"".$remote."/".$el["name"]."\"");
     745                                        $this->PushError("mdel", "cannot delete file", "Cannot delete remote file \"".$remote."/".$el["name"]."\"");
    746746                                        $ret=false;
    747747                                        if(!$continious) break;
    748748                                }
     
    750750                }
    751751
    752752                if(!$this->rmdir($remote)) {
    753                         $this->PushError("mdel", "can't delete folder", "Can't delete remote folder \"".$remote."/".$el["name"]."\"");
     753                        $this->PushError("mdel", "cannot delete folder", "Cannot delete remote folder \"".$remote."/".$el["name"]."\"");
    754754                        $ret=false;
    755755                }
    756756                return $ret;
     
    826826        function dirlist($remote) {
    827827                $list=$this->rawlist($remote, "-la");
    828828                if($list===false) {
    829                         $this->PushError("dirlist","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
     829                        $this->PushError("dirlist","cannot read remote folder list", "Cannot read remote folder \"".$remote."\" contents");
    830830                        return false;
    831831                }
    832832
  • src/wp-admin/includes/class-ftp-sockets.php

     
    139139                        else $this->_ftp_temp_sock=$this->_ftp_data_sock;
    140140                } else {
    141141                        if(!@socket_getsockname($this->_ftp_control_sock, $addr, $port)) {
    142                                 $this->PushError("_data_prepare","can't get control socket information", socket_strerror(socket_last_error($this->_ftp_control_sock)));
     142                                $this->PushError("_data_prepare","cannot get control socket information", socket_strerror(socket_last_error($this->_ftp_control_sock)));
    143143                                $this->_data_close();
    144144                                return FALSE;
    145145                        }
    146146                        if(!@socket_bind($this->_ftp_data_sock,$addr)){
    147                                 $this->PushError("_data_prepare","can't bind data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     147                                $this->PushError("_data_prepare","cannot bind data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    148148                                $this->_data_close();
    149149                                return FALSE;
    150150                        }
    151151                        if(!@socket_listen($this->_ftp_data_sock)) {
    152                                 $this->PushError("_data_prepare","can't listen data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     152                                $this->PushError("_data_prepare","cannot listen data socket", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    153153                                $this->_data_close();
    154154                                return FALSE;
    155155                        }
    156156                        if(!@socket_getsockname($this->_ftp_data_sock, $this->_datahost, $this->_dataport)) {
    157                                 $this->PushError("_data_prepare","can't get data socket information", socket_strerror(socket_last_error($this->_ftp_data_sock)));
     157                                $this->PushError("_data_prepare","cannot get data socket information", socket_strerror(socket_last_error($this->_ftp_data_sock)));
    158158                                $this->_data_close();
    159159                                return FALSE;
    160160                        }
  • src/wp-admin/includes/class-theme-upgrader.php

     
    495495                                $this->strings['incompatible_archive'],
    496496                                sprintf(
    497497                                        /* translators: %s: style.css */
    498                                         __( 'The %s stylesheet doesn&#8217;t contain a valid theme header.' ),
     498                                        __( 'The %s stylesheet does not contain a valid theme header.' ),
    499499                                        '<code>style.css</code>'
    500500                                )
    501501                        );
  • src/wp-admin/includes/class-wp-importer.php

     
    132132                } else {
    133133                        $blog = 'http://' . preg_replace( '#^https?://#', '', $blog_id );
    134134                        if ( ( ! $parsed = parse_url( $blog ) ) || empty( $parsed['host'] ) ) {
    135                                 fwrite( STDERR, "Error: can not determine blog_id from $blog_id\n" );
     135                                fwrite( STDERR, "Error: cannot determine blog_id from $blog_id\n" );
    136136                                exit();
    137137                        }
    138138                        if ( empty( $parsed['path'] ) ) {
     
    174174                }
    175175
    176176                if ( ! $user_id || ! wp_set_current_user( $user_id ) ) {
    177                         fwrite( STDERR, "Error: can not find user\n" );
     177                        fwrite( STDERR, "Error: cannot find user\n" );
    178178                        exit();
    179179                }
    180180
  • src/wp-admin/includes/class-wp-plugin-install-list-table.php

     
    641641                        if ( ! $compatible_php || ! $compatible_wp ) {
    642642                                echo '<div class="notice inline notice-error notice-alt"><p>';
    643643                                if ( ! $compatible_php && ! $compatible_wp ) {
    644                                         _e( 'This plugin doesn&#8217;t work with your versions of WordPress and PHP.' );
     644                                        _e( 'This plugin does not work with your versions of WordPress and PHP.' );
    645645                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    646646                                                printf(
    647647                                                        /* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */
     
    665665                                                wp_update_php_annotation( '</p><p><em>', '</em>' );
    666666                                        }
    667667                                } elseif ( ! $compatible_wp ) {
    668                                         _e( 'This plugin doesn&#8217;t work with your version of WordPress.' );
     668                                        _e( 'This plugin does not work with your version of WordPress.' );
    669669                                        if ( current_user_can( 'update_core' ) ) {
    670670                                                printf(
    671671                                                        /* translators: %s: "Update WordPress" screen URL */
     
    674674                                                );
    675675                                        }
    676676                                } elseif ( ! $compatible_php ) {
    677                                         _e( 'This plugin doesn&#8217;t work with your version of PHP.' );
     677                                        _e( 'This plugin does not work with your version of PHP.' );
    678678                                        if ( current_user_can( 'update_php' ) ) {
    679679                                                printf(
    680680                                                        /* translators: %s: "Update PHP" page URL */
  • src/wp-admin/includes/class-wp-site-health-auto-updates.php

     
    288288                }
    289289
    290290                return array(
    291                         'description' => __( "Your installation of WordPress doesn't require FTP credentials to perform updates." ),
     291                        'description' => __( "Your installation of WordPress does not require FTP credentials to perform updates." ),
    292292                        'severity'    => 'pass',
    293293                );
    294294        }
  • src/wp-admin/includes/dashboard.php

     
    12581258                         * that they match the expected location before including them.
    12591259                         * Use endonyms (native locale names) whenever possible.
    12601260                         */
    1261                         __( 'We couldn&#8217;t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
     1261                        __( 'We could not locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
    12621262                        '<em>{{data.unknownCity}}</em>'
    12631263                );
    12641264                ?>
     
    12911291                                <?php
    12921292                                printf(
    12931293                                        /* translators: 1: the city the user searched for, 2: meetup organization documentation URL */
    1294                                         __( 'There aren&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ),
     1294                                        __( 'There are not any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize one</a>?' ),
    12951295                                        '{{ data.location.description }}',
    12961296                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    12971297                                );
     
    13011301                                <?php
    13021302                                printf(
    13031303                                        /* translators: %s: meetup organization documentation URL */
    1304                                         __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ),
     1304                                        __( 'There are not any events scheduled near you at the moment. Would you like to <a href="%s">organize one</a>?' ),
    13051305                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    13061306                                );
    13071307                                ?>
  • src/wp-admin/includes/file.php

     
    679679                        wp_die( __( 'Sorry, that file cannot be edited.' ) );
    680680
    681681                        // case 2 :
    682                         // wp_die( __('Sorry, can&#8217;t call files with their real path.' ));
     682                        // wp_die( __('Sorry, cannot call files with their real path.' ));
    683683
    684684                case 3:
    685685                        wp_die( __( 'Sorry, that file cannot be edited.' ) );
  • src/wp-admin/includes/template.php

     
    11001100        echo '<p>';
    11011101        if ( $plugin ) {
    11021102                /* translators: %s: the name of the plugin that generated this meta box. */
    1103                 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
     1103                printf( __( "This meta box, from the %s plugin, is not compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
    11041104        } else {
    1105                 _e( "This meta box isn't compatible with the block editor." );
     1105                _e( "This meta box is not compatible with the block editor." );
    11061106        }
    11071107        echo '</p>';
    11081108
     
    12931293                                                                <p>
    12941294                                                                        <?php
    12951295                                                                                /* translators: %s: the name of the plugin that generated this meta box. */
    1296                                                                                 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
     1296                                                                                printf( __( "This meta box, from the %s plugin, is not compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
    12971297                                                                        ?>
    12981298                                                                </p>
    12991299                                                        </div>
  • src/wp-admin/includes/update.php

     
    454454                        } else {
    455455                                /* translators: 1: plugin name, 2: details URL, 3: additional link attributes, 4: version number 5: Update PHP page URL */
    456456                                printf(
    457                                         __( 'There is a new version of %1$s available, but it doesn&#8217;t work with your version of PHP. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s">learn more about updating PHP</a>.' ),
     457                                        __( 'There is a new version of %1$s available, but it does not work with your version of PHP. <a href="%2$s" %3$s>View version %4$s details</a> or <a href="%5$s">learn more about updating PHP</a>.' ),
    458458                                        $plugin_name,
    459459                                        esc_url( $details_url ),
    460460                                        sprintf(
  • src/wp-admin/includes/user.php

     
    200200        if ( empty( $user->user_email ) ) {
    201201                $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an email address.' ), array( 'form-field' => 'email' ) );
    202202        } elseif ( ! is_email( $user->user_email ) ) {
    203                 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ), array( 'form-field' => 'email' ) );
     203                $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address is not correct.' ), array( 'form-field' => 'email' ) );
    204204        } elseif ( ( $owner_id = email_exists( $user->user_email ) ) && ( ! $update || ( $owner_id != $user->ID ) ) ) {
    205205                $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.' ), array( 'form-field' => 'email' ) );
    206206        }
  • src/wp-admin/network/site-new.php

     
    3737        check_admin_referer( 'add-blog', '_wpnonce_add-blog' );
    3838
    3939        if ( ! is_array( $_POST['blog'] ) ) {
    40                 wp_die( __( 'Can&#8217;t create an empty site.' ) );
     40                wp_die( __( 'Cannot create an empty site.' ) );
    4141        }
    4242
    4343        $blog   = $_POST['blog'];
  • src/wp-admin/network/upgrade.php

     
    2121                'title'   => __( 'Overview' ),
    2222                'content' =>
    2323                        '<p>' . __( 'Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Toolbar). Clicking the Upgrade Network button will step through each site in the network, five at a time, and make sure any database updates are applied.' ) . '</p>' .
    24                         '<p>' . __( 'If a version update to core has not happened, clicking this button won&#8217;t affect anything.' ) . '</p>' .
     24                        '<p>' . __( 'If a version update to core has not happened, clicking this button will not affect anything.' ) . '</p>' .
    2525                        '<p>' . __( 'If this process fails for any reason, users logging in to their sites will force the same update.' ) . '</p>',
    2626        )
    2727);
     
    119119                        do_action( 'wpmu_upgrade_site', $site_id );
    120120                }
    121121                echo '</ul>';
    122                 ?><p><?php _e( 'If your browser doesn&#8217;t start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&amp;n=<?php echo ( $n + 5 ); ?>"><?php _e( 'Next Sites' ); ?></a></p>
     122                ?><p><?php _e( 'If your browser does not start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&amp;n=<?php echo ( $n + 5 ); ?>"><?php _e( 'Next Sites' ); ?></a></p>
    123123                <script type="text/javascript">
    124124                <!--
    125125                function nextpage() {
  • src/wp-includes/class-json.php

     
    135135    *                                   bubble up with an error, so all return values
    136136    *                                   from encode() should be checked with isError()
    137137    *                           - SERVICES_JSON_USE_TO_JSON:  call toJSON when serializing objects
    138     *                                   It serializes the return value from the toJSON call rather 
    139     *                                   than the object itself, toJSON can return associative arrays, 
     138    *                                   It serializes the return value from the toJSON call rather
     139    *                                   than the object itself, toJSON can return associative arrays,
    140140    *                                   strings or numbers, if you return an object, make sure it does
    141141    *                                   not have a toJSON method, otherwise an error will occur.
    142142    */
     
    158158    var $_mb_strlen = false;
    159159    var $_mb_substr = false;
    160160    var $_mb_convert_encoding = false;
    161    
     161
    162162   /**
    163163    * convert a string from one UTF-16 char to one UTF-8 char
    164164    *
     
    282282        $ret = $this->_encode($var);
    283283        setlocale(LC_NUMERIC, $lc);
    284284        return $ret;
    285        
     285
    286286    }
    287287    /**
    288     * PRIVATE CODE that does the work of encodes an arbitrary variable into JSON format 
     288    * PRIVATE CODE that does the work of encodes an arbitrary variable into JSON format
    289289    *
    290290    * @param    mixed   $var    any number, boolean, string, array, or object to be encoded.
    291291    *                           see argument 1 to Services_JSON() above for array-parsing behavior.
     
    295295    * @return   mixed   JSON string representation of input var or an error if a problem occurs
    296296    * @access   public
    297297    */
    298     function _encode($var) 
     298    function _encode($var)
    299299    {
    300          
     300
    301301        switch (gettype($var)) {
    302302            case 'boolean':
    303303                return $var ? 'true' : 'false';
     
    362362                                $ascii .= '?';
    363363                                break;
    364364                            }
    365                            
     365
    366366                            $char = pack('C*', $ord_var_c, ord($var{$c + 1}));
    367367                            $c += 1;
    368368                            $utf16 = $this->utf82utf16($char);
     
    488488                return '[' . join(',', $elements) . ']';
    489489
    490490            case 'object':
    491            
     491
    492492                // support toJSON methods.
    493493                if (($this->use & SERVICES_JSON_USE_TO_JSON) && method_exists($var, 'toJSON')) {
    494494                    // this may end up allowing unlimited recursion
    495495                    // so we check the return value to make sure it's not got the same method.
    496496                    $recode = $var->toJSON();
    497                    
     497
    498498                    if (method_exists($recode, 'toJSON')) {
    499                        
     499
    500500                        return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS)
    501501                        ? 'null'
    502502                        : new Services_JSON_Error(get_class($var).
    503503                            " toJSON returned an object with a toJSON method.");
    504                            
     504
    505505                    }
    506                    
     506
    507507                    return $this->_encode( $recode );
    508                 } 
    509                
     508                }
     509
    510510                $vars = get_object_vars($var);
    511                
     511
    512512                $properties = array_map(array($this, 'name_value'),
    513513                                        array_keys($vars),
    514514                                        array_values($vars));
     
    524524            default:
    525525                return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS)
    526526                    ? 'null'
    527                     : new Services_JSON_Error(gettype($var)." can not be encoded as JSON string");
     527                    : new Services_JSON_Error(gettype($var)." cannot be encoded as JSON string");
    528528        }
    529529    }
    530530
     
    772772                                // element in an associative array,
    773773                                // for now
    774774                                $parts = array();
    775                                
     775
    776776                               if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:/Uis', $slice, $parts)) {
    777777                                      // "name":value pair
    778778                                    $key = $this->decode($parts[1]);
     
    879879
    880880        return false;
    881881    }
    882    
     882
    883883    /**
    884884    * Calculates length of string in bytes
    885     * @param string 
     885    * @param string
    886886    * @return integer length
    887887    */
    888     function strlen8( $str ) 
     888    function strlen8( $str )
    889889    {
    890890        if ( $this->_mb_strlen ) {
    891891            return mb_strlen( $str, "8bit" );
     
    892892        }
    893893        return strlen( $str );
    894894    }
    895    
     895
    896896    /**
    897897    * Returns part of a string, interpreting $start and $length as number of bytes.
    898     * @param string 
    899     * @param integer start 
    900     * @param integer length 
     898    * @param string
     899    * @param integer start
     900    * @param integer length
    901901    * @return integer length
    902902    */
    903     function substr8( $string, $start, $length=false ) 
     903    function substr8( $string, $start, $length=false )
    904904    {
    905905        if ( $length === false ) {
    906906            $length = $this->strlen8( $string ) - $start;
     
    954954                        self::__construct( $message, $code, $mode, $options, $userinfo );
    955955                }
    956956    }
    957    
     957
    958958}
    959959
    960960endif;
  • src/wp-includes/class-wp-customize-nav-menus.php

     
    10491049
    10501050                <script type="text/html" id="tmpl-nav-menu-create-menu-section-title">
    10511051                        <p class="add-new-menu-notice">
    1052                                 <?php _e( 'It doesn&#8217;t look like your site has any menus yet. Want to build one? Click the button to start.' ); ?>
     1052                                <?php _e( 'It does not look like your site has any menus yet. Want to build one? Click the button to start.' ); ?>
    10531053                        </p>
    10541054                        <p class="add-new-menu-notice">
    10551055                                <?php _e( 'You&#8217;ll create a menu, assign it a location, and add menu items like links to pages and categories. If your theme has multiple menu areas, you might need to create more than one.' ); ?>
  • src/wp-includes/class-wp-customize-widgets.php

     
    724724                 */
    725725                $some_non_rendered_areas_messages    = array();
    726726                $some_non_rendered_areas_messages[1] = html_entity_decode(
    727                         __( 'Your theme has 1 other widget area, but this particular page doesn&#8217;t display it.' ),
     727                        __( 'Your theme has 1 other widget area, but this particular page does not display it.' ),
    728728                        ENT_QUOTES,
    729729                        get_bloginfo( 'charset' )
    730730                );
     
    734734                                sprintf(
    735735                                        /* translators: %s: the number of other widget areas registered but not rendered */
    736736                                        _n(
    737                                                 'Your theme has %s other widget area, but this particular page doesn&#8217;t display it.',
    738                                                 'Your theme has %s other widget areas, but this particular page doesn&#8217;t display them.',
     737                                                'Your theme has %s other widget area, but this particular page does not display it.',
     738                                                'Your theme has %s other widget areas, but this particular page does not display them.',
    739739                                                $non_rendered_count
    740740                                        ),
    741741                                        number_format_i18n( $non_rendered_count )
     
    748748                if ( 1 === $registered_sidebar_count ) {
    749749                        $no_areas_shown_message = html_entity_decode(
    750750                                sprintf(
    751                                         __( 'Your theme has 1 widget area, but this particular page doesn&#8217;t display it.' )
     751                                        __( 'Your theme has 1 widget area, but this particular page does not display it.' )
    752752                                ),
    753753                                ENT_QUOTES,
    754754                                get_bloginfo( 'charset' )
     
    758758                                sprintf(
    759759                                        /* translators: %s: the total number of widget areas registered */
    760760                                        _n(
    761                                                 'Your theme has %s widget area, but this particular page doesn&#8217;t display it.',
    762                                                 'Your theme has %s widget areas, but this particular page doesn&#8217;t display them.',
     761                                                'Your theme has %s widget area, but this particular page does not display it.',
     762                                                'Your theme has %s widget areas, but this particular page does not display them.',
    763763                                                $registered_sidebar_count
    764764                                        ),
    765765                                        number_format_i18n( $registered_sidebar_count )
  • src/wp-includes/class-wp-image-editor-gd.php

     
    8787                }
    8888
    8989                if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) ) {
    90                         return new WP_Error( 'error_loading_image', __( 'File doesn&#8217;t exist?' ), $this->file );
     90                        return new WP_Error( 'error_loading_image', __( 'File does not exist?' ), $this->file );
    9191                }
    9292
    9393                // Set artificially high because GD uses uncompressed images in memory.
  • src/wp-includes/class-wp-image-editor-imagick.php

     
    132132                }
    133133
    134134                if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) ) {
    135                         return new WP_Error( 'error_loading_image', __( 'File doesn&#8217;t exist?' ), $this->file );
     135                        return new WP_Error( 'error_loading_image', __( 'File does not exist?' ), $this->file );
    136136                }
    137137
    138138                /*
  • src/wp-includes/class-wp-theme.php

     
    241241                                )
    242242                        );
    243243                        if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    244                                 $this->errors->add( 'theme_root_missing', __( 'ERROR: The themes directory is either empty or doesn&#8217;t exist. Please check your installation.' ) );
     244                                $this->errors->add( 'theme_root_missing', __( 'ERROR: The themes directory is either empty or does not exist. Please check your installation.' ) );
    245245                        }
    246246                        return;
    247247                } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    67316731                        }
    67326732                } else {
    67336733                        // TODO: Attempt to extract a post ID from the given URL
    6734                         return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.' ) );
     6734                        return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) );
    67356735                }
    67366736                $post_ID = (int) $post_ID;
    67376737
     
    67386738                $post = get_post( $post_ID );
    67396739
    67406740                if ( ! $post ) { // Post_ID not found
    6741                         return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.' ) );
     6741                        return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) );
    67426742                }
    67436743
    67446744                if ( $post_ID == url_to_postid( $pagelinkedfrom ) ) {
     
    67476747
    67486748                // Check if pings are on
    67496749                if ( ! pings_open( $post ) ) {
    6750                         return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.' ) );
     6750                        return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) );
    67516751                }
    67526752
    67536753                // Let's check that the remote site didn't already pingback this entry
     
    69086908                $post_ID = url_to_postid( $url );
    69096909                if ( ! $post_ID ) {
    69106910                        // We aren't sure that the resource is available and/or pingback enabled
    6911                         return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either doesn&#8217;t exist, or it is not a pingback-enabled resource.' ) );
     6911                        return $this->pingback_error( 33, __( 'The specified target URL cannot be used as a target. It either does not exist, or it is not a pingback-enabled resource.' ) );
    69126912                }
    69136913
    69146914                $actual_post = get_post( $post_ID, ARRAY_A );
  • src/wp-includes/deprecated.php

     
    31833183
    31843184        if ( ! is_file( $file ) ) {
    31853185                /* translators: %s: file name */
    3186                 return sprintf( __( 'File &#8220;%s&#8221; doesn&#8217;t exist?' ), $file );
     3186                return sprintf( __( 'File &#8220;%s&#8221; does not exist?' ), $file );
    31873187        }
    31883188
    31893189        if ( ! function_exists('imagecreatefromstring') )
  • src/wp-includes/rss.php

     
    764764
    765765                if ( ! $rss = get_transient( $cache_option ) ) {
    766766                        $this->debug(
    767                                 "Cache doesn't contain: $url (cache option: $cache_option)"
     767                                "Cache does not contain: $url (cache option: $cache_option)"
    768768                        );
    769769                        return 0;
    770770                }
  • src/wp-includes/user.php

     
    24542454        if ( $user_email == '' ) {
    24552455                $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your email address.' ) );
    24562456        } elseif ( ! is_email( $user_email ) ) {
    2457                 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ) );
     2457                $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address is not correct.' ) );
    24582458                $user_email = '';
    24592459        } elseif ( email_exists( $user_email ) ) {
    24602460                $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.' ) );
     
    24982498        $user_pass = wp_generate_password( 12, false );
    24992499        $user_id   = wp_create_user( $sanitized_user_login, $user_pass, $user_email );
    25002500        if ( ! $user_id || is_wp_error( $user_id ) ) {
    2501                 $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
     2501                $errors->add( 'registerfail', sprintf( __( '<strong>ERROR</strong>: Could not register you&hellip; please contact the <a href="mailto:%s">webmaster</a> !' ), get_option( 'admin_email' ) ) );
    25022502                return $errors;
    25032503        }
    25042504
     
    27302730                if ( ! is_email( $_POST['email'] ) ) {
    27312731                        $errors->add(
    27322732                                'user_email',
    2733                                 __( '<strong>ERROR</strong>: The email address isn&#8217;t correct.' ),
     2733                                __( '<strong>ERROR</strong>: The email address is not correct.' ),
    27342734                                array(
    27352735                                        'form-field' => 'email',
    27362736                                )
  • src/wp-includes/wp-db.php

     
    10991099                        if ( ! did_action( 'template_redirect' ) ) {
    11001100                                wp_load_translations_early();
    11011101
    1102                                 $message = '<h1>' . __( 'Can&#8217;t select database' ) . "</h1>\n";
     1102                                $message = '<h1>' . __( 'Cannot select database' ) . "</h1>\n";
    11031103
    11041104                                $message .= '<p>' . sprintf(
    11051105                                        /* translators: %s: database name */
     
    11271127
    11281128                                $message .= '<p>' . sprintf(
    11291129                                        /* translators: %s: support forums URL */
    1130                                         __( 'If you don&#8217;t know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="%s">WordPress Support Forums</a>.' ),
     1130                                        __( 'If you do not know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="%s">WordPress Support Forums</a>.' ),
    11311131                                        __( 'https://wordpress.org/support/' )
    11321132                                ) . "</p>\n";
    11331133
     
    16591659
    16601660                        $message .= '<p>' . sprintf(
    16611661                                /* translators: 1: wp-config.php, 2: database host */
    1662                                 __( 'This either means that the username and password information in your %1$s file is incorrect or we can&#8217;t contact the database server at %2$s. This could mean your host&#8217;s database server is down.' ),
     1662                                __( 'This either means that the username and password information in your %1$s file is incorrect or we cannot contact the database server at %2$s. This could mean your host&#8217;s database server is down.' ),
    16631663                                '<code>wp-config.php</code>',
    16641664                                '<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>'
    16651665                        ) . "</p>\n";
  • src/wp-includes/Text/Diff.php

     
    262262    function _check($from_lines, $to_lines)
    263263    {
    264264        if (serialize($from_lines) != serialize($this->getOriginal())) {
    265             trigger_error("Reconstructed original doesn't match", E_USER_ERROR);
     265            trigger_error("Reconstructed original does not match", E_USER_ERROR);
    266266        }
    267267        if (serialize($to_lines) != serialize($this->getFinal())) {
    268             trigger_error("Reconstructed final doesn't match", E_USER_ERROR);
     268            trigger_error("Reconstructed final does not match", E_USER_ERROR);
    269269        }
    270270
    271271        $rev = $this->reverse();
    272272        if (serialize($to_lines) != serialize($rev->getOriginal())) {
    273             trigger_error("Reversed original doesn't match", E_USER_ERROR);
     273            trigger_error("Reversed original does not match", E_USER_ERROR);
    274274        }
    275275        if (serialize($from_lines) != serialize($rev->getFinal())) {
    276             trigger_error("Reversed final doesn't match", E_USER_ERROR);
     276            trigger_error("Reversed final does not match", E_USER_ERROR);
    277277        }
    278278
    279279        $prevtype = null;
  • src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

     
    10621062
    10631063                        if ( '' !== $request['password'] ) {
    10641064                                if ( ! empty( $schema['properties']['sticky'] ) && ! empty( $request['sticky'] ) ) {
    1065                                         return new WP_Error( 'rest_invalid_field', __( 'A post can not be sticky and have a password.' ), array( 'status' => 400 ) );
     1065                                        return new WP_Error( 'rest_invalid_field', __( 'A post cannot be sticky and have a password.' ), array( 'status' => 400 ) );
    10661066                                }
    10671067
    10681068                                if ( ! empty( $prepared_post->ID ) && is_sticky( $prepared_post->ID ) ) {
    1069                                         return new WP_Error( 'rest_invalid_field', __( 'A sticky post can not be password protected.' ), array( 'status' => 400 ) );
     1069                                        return new WP_Error( 'rest_invalid_field', __( 'A sticky post cannot be password protected.' ), array( 'status' => 400 ) );
    10701070                                }
    10711071                        }
    10721072                }
     
    10731073
    10741074                if ( ! empty( $schema['properties']['sticky'] ) && ! empty( $request['sticky'] ) ) {
    10751075                        if ( ! empty( $prepared_post->ID ) && post_password_required( $prepared_post->ID ) ) {
    1076                                 return new WP_Error( 'rest_invalid_field', __( 'A password protected post can not be set to sticky.' ), array( 'status' => 400 ) );
     1076                                return new WP_Error( 'rest_invalid_field', __( 'A password protected post cannot be set to sticky.' ), array( 'status' => 400 ) );
    10771077                        }
    10781078                }
    10791079
  • src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

     
    648648                }
    649649
    650650                if ( ! empty( $request['username'] ) && $request['username'] !== $user->user_login ) {
    651                         return new WP_Error( 'rest_user_invalid_argument', __( "Username isn't editable." ), array( 'status' => 400 ) );
     651                        return new WP_Error( 'rest_user_invalid_argument', __( "Username is not editable." ), array( 'status' => 400 ) );
    652652                }
    653653
    654654                if ( ! empty( $request['slug'] ) && $request['slug'] !== $user->user_nicename && get_user_by( 'slug', $request['slug'] ) ) {
  • src/wp-includes/theme-compat/embed-404.php

     
    1111 */
    1212?>
    1313<div class="wp-embed">
    14         <p class="wp-embed-heading"><?php _e( 'Oops! That embed can&#8217;t be found.' ); ?></p>
     14        <p class="wp-embed-heading"><?php _e( 'Oops! That embed cannot be found.' ); ?></p>
    1515
    1616        <div class="wp-embed-excerpt">
    1717                <p>
  • src/wp-includes/widgets/class-wp-widget-media.php

     
    7373                        'add_to_widget'              => __( 'Add to Widget' ),
    7474                        'missing_attachment'         => sprintf(
    7575                                /* translators: %s: URL to media library */
    76                                 __( 'We can&#8217;t find that file. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     76                                __( 'We cannot find that file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    7777                                esc_url( admin_url( 'upload.php' ) )
    7878                        ),
    7979                        /* translators: %d: widget count */
    8080                        'media_library_state_multi'  => _n_noop( 'Media Widget (%d)', 'Media Widget (%d)' ),
    8181                        'media_library_state_single' => __( 'Media Widget' ),
    82                         'unsupported_file_type'      => __( 'Looks like this isn&#8217;t the correct kind of file. Please link to an appropriate file instead.' ),
     82                        'unsupported_file_type'      => __( 'Looks like this is not the correct kind of file. Please link to an appropriate file instead.' ),
    8383                );
    8484                $this->l10n    = array_merge( $l10n_defaults, array_filter( $this->l10n ) );
    8585
  • src/wp-includes/widgets/class-wp-widget-media-audio.php

     
    4040                                'edit_media'                 => _x( 'Edit Audio', 'label for button in the audio widget; should preferably not be longer than ~13 characters long' ),
    4141                                'missing_attachment'         => sprintf(
    4242                                        /* translators: %s: URL to media library */
    43                                         __( 'We can&#8217;t find that audio file. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     43                                        __( 'We cannot find that audio file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4444                                        esc_url( admin_url( 'upload.php' ) )
    4545                                ),
    4646                                /* translators: %d: widget count */
    4747                                'media_library_state_multi'  => _n_noop( 'Audio Widget (%d)', 'Audio Widget (%d)' ),
    4848                                'media_library_state_single' => __( 'Audio Widget' ),
    49                                 'unsupported_file_type'      => __( 'Looks like this isn&#8217;t the correct kind of file. Please link to an audio file instead.' ),
     49                                'unsupported_file_type'      => __( 'Looks like this is not the correct kind of file. Please link to an audio file instead.' ),
    5050                        )
    5151                );
    5252        }
  • src/wp-includes/widgets/class-wp-widget-media-image.php

     
    4040                                'edit_media'                 => _x( 'Edit Image', 'label for button in the image widget; should preferably not be longer than ~13 characters long' ),
    4141                                'missing_attachment'         => sprintf(
    4242                                        /* translators: %s: URL to media library */
    43                                         __( 'We can&#8217;t find that image. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     43                                        __( 'We cannot find that image. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4444                                        esc_url( admin_url( 'upload.php' ) )
    4545                                ),
    4646                                /* translators: %d: widget count */
  • src/wp-includes/widgets/class-wp-widget-media-video.php

     
    4040                                'edit_media'                 => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ),
    4141                                'missing_attachment'         => sprintf(
    4242                                        /* translators: %s: URL to media library */
    43                                         __( 'We can&#8217;t find that video. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     43                                        __( 'We cannot find that video. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4444                                        esc_url( admin_url( 'upload.php' ) )
    4545                                ),
    4646                                /* translators: %d: widget count */
     
    4747                                'media_library_state_multi'  => _n_noop( 'Video Widget (%d)', 'Video Widget (%d)' ),
    4848                                'media_library_state_single' => __( 'Video Widget' ),
    4949                                /* translators: %s: a list of valid video file extensions */
    50                                 'unsupported_file_type'      => sprintf( __( 'Sorry, we can&#8217;t load the video at the supplied URL. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
     50                                'unsupported_file_type'      => sprintf( __( 'Sorry, we cannot load the video at the supplied URL. Please check that the URL is for a supported video file (%s) or stream (e.g. YouTube and Vimeo).' ), '<code>.' . implode( '</code>, <code>.', wp_get_video_extensions() ) . '</code>' ),
    5151                        )
    5252                );
    5353        }
  • src/wp-includes/widgets/class-wp-widget-text.php

     
    488488                                <?php if ( ! isset( $instance['visual'] ) ) : ?>
    489489                                        <p><?php _e( 'This widget may contain code that may work better in the &#8220;Custom HTML&#8221; widget. How about trying that widget instead?' ); ?></p>
    490490                                <?php else : ?>
    491                                         <p><?php _e( 'This widget may have contained code that may work better in the &#8220;Custom HTML&#8221; widget. If you haven&#8217;t yet, how about trying that widget instead?' ); ?></p>
     491                                        <p><?php _e( 'This widget may have contained code that may work better in the &#8220;Custom HTML&#8221; widget. If you have not yet, how about trying that widget instead?' ); ?></p>
    492492                                <?php endif; ?>
    493493                        </div>
    494494                        <p>