Make WordPress Core

Ticket #38913: 38913.diff

File 38913.diff, 136.4 KB (added by audrasjb, 3 years ago)

patch refreshed against trunk

  • phpcs.xml.dist

    diff --git a/phpcs.xml.dist b/phpcs.xml.dist
    index dedf053d63..192c48aa83 100644
    a b  
    314314                <exclude-pattern>/tests/phpunit/tests/*</exclude-pattern>
    315315        </rule>
    316316
    317         <!-- Exclude some old classes that can't be renamed, as it would break back compat. -->
     317        <!-- Exclude some old classes that can not be renamed, as it would break back compat. -->
    318318        <rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
    319319                <exclude-pattern>/src/wp-admin/includes/class-wp-filesystem-ftpsockets\.php</exclude-pattern>
    320320                <exclude-pattern>/src/wp-includes/class-wp-oembed\.php</exclude-pattern>
  • src/readme.html

    diff --git a/src/readme.html b/src/readme.html
    index e246fb641e..06c54919c7 100644
    a b  
    1313<p style="text-align: center">Semantic Personal Publishing Platform</p>
    1414
    1515<h2>First Things First</h2>
    16 <p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I&#8217;m proud to be a part of. Thousands of hours have gone into WordPress, and we&#8217;re dedicated to making it better every day. Thank you for making it part of your world.</p>
     16<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p>
    1717<p style="text-align: right">&#8212; Matt Mullenweg</p>
    1818
    1919<h2>Installation: Famous 5-minute install</h2>
     
    2121        <li>Unzip the package in an empty directory and upload everything.</li>
    2222        <li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
    2323                <ol>
    24                         <li>If for some reason this doesn&#8217;t work, don&#8217;t worry. It doesn&#8217;t work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
     24                        <li>If for some reason this does not work, do not worry. It does not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
    2525                        <li>Save the file as <code>wp-config.php</code> and upload it.</li>
    2626                        <li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
    2727                </ol>
     
    6565</ul>
    6666
    6767<h2>Online Resources</h2>
    68 <p>If you have any questions that aren&#8217;t addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
     68<p>If you have any questions that are not addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
    6969<dl>
    7070        <dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt>
    7171                <dd>The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
     
    7474        <dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
    7575                <dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
    7676        <dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
    77                 <dd>If you&#8217;ve looked everywhere and still can&#8217;t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
     77                <dd>If you&#8217;ve looked everywhere and still can not find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
    7878        <dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
    7979                <dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd>
    8080</dl>
  • src/wp-admin/comment.php

    diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php
    index 4c09a6085e..7eb0699596 100644
    a b if ( isset( $_REQUEST['c'] ) ) { 
    4343        // Prevent actions on a comment associated with a trashed post.
    4444        if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
    4545                wp_die(
    46                         __( 'You can&#8217;t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
     46                        __( 'You can not edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
    4747                );
    4848        }
    4949} else {
  • src/wp-admin/edit-form-advanced.php

    diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
    index 6a57dda7f9..42f0d49cc4 100644
    a b if ( 'post' === $post_type ) { 
    297297        $title_and_editor .= '<p>' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen Options.' ) . '</p>';
    298298        $title_and_editor .= '<p>' . sprintf(
    299299                /* translators: %s: Alt + F10 */
    300                 __( 'Keyboard users: When you&#8217;re working in the visual editor, you can use %s to access the toolbar.' ),
     300                __( 'Keyboard users: When you are working in the visual editor, you can use %s to access the toolbar.' ),
    301301                '<kbd>Alt + F10</kbd>'
    302302        ) . '</p>';
    303303
    if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create 
    447447<div id="message" class="updated notice notice-success is-dismissible"><p><?php echo $message; ?></p></div>
    448448<?php endif; ?>
    449449<div id="lost-connection-notice" class="error hidden">
    450         <p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you&#8217;re reconnected.' ); ?>
    451         <span class="hide-if-no-sessionstorage"><?php _e( 'We&#8217;re backing up this post in your browser, just in case.' ); ?></span>
     450        <p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ); ?>
     451        <span class="hide-if-no-sessionstorage"><?php _e( 'We are backing up this post in your browser, just in case.' ); ?></span>
    452452        </p>
    453453</div>
    454454<form name="post" action="post.php" method="post" id="post"
  • src/wp-admin/edit-link-form.php

    diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php
    index 93a872aa61..d99eda00e4 100644
    a b get_current_screen()->add_help_tab( 
    6666                'title'   => __( 'Overview' ),
    6767                'content' =>
    6868                '<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>' .
    69                 '<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>' .
     69                '<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>' .
    7070                '<p>' . __( 'XFN stands for <a href="https://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>',
    7171        )
    7272);
    wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); 
    122122<h2 class="postbox-header"><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
    123123<div class="inside">
    124124        <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
    125         <p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; don&#8217;t forget the <code>https://</code>' ); ?></p>
     125        <p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; do not forget the <code>https://</code>' ); ?></p>
    126126</div>
    127127</div>
    128128
  • src/wp-admin/edit-tags.php

    diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
    index f95eba68c5..8e169f5155 100644
    a b switch ( $wp_list_table->current_action() ) { 
    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 ) ) );
    switch ( $wp_list_table->current_action() ) { 
    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 );
    if ( 'category' === $taxonomy || 'link_category' === $taxonomy || 'post_tag' === 
    253253        } elseif ( 'link_category' === $taxonomy ) {
    254254                $help = '<p>' . __( 'You can create groups of links by using Link Categories. Link Category names must be unique and Link Categories are separate from the categories you use for posts.' ) . '</p>';
    255255        } else {
    256                 $help = '<p>' . __( 'You can assign keywords to your posts using <strong>tags</strong>. Unlike categories, tags have no hierarchy, meaning there&#8217;s no relationship from one tag to another.' ) . '</p>';
     256                $help = '<p>' . __( 'You can assign keywords to your posts using <strong>tags</strong>. Unlike categories, tags have no hierarchy, meaning there is no relationship from one tag to another.' ) . '</p>';
    257257        }
    258258
    259259        if ( 'link_category' === $taxonomy ) {
  • src/wp-admin/freedoms.php

    diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php
    index 0a2d6ca241..815a9894cc 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    8484                        <?php
    8585                        printf(
    8686                                /* translators: %s: https://wordpressfoundation.org/trademark-policy/ */
    87                                 __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ),
     87                                __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We are flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ),
    8888                                'https://wordpressfoundation.org/trademark-policy/'
    8989                        );
    9090                        ?>
    require_once ABSPATH . 'wp-admin/admin-header.php'; 
    9696                        $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    9797                        printf(
    9898                                /* translators: 1: URL to Plugins screen, 2: URL to Themes screen, 3: https://wordpress.org/about/license/ */
    99                                 __( '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.' ),
     99                                __( '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.' ),
    100100                                $plugins_url,
    101101                                $themes_url,
    102102                                __( 'https://wordpress.org/about/license/' )
    require_once ABSPATH . 'wp-admin/admin-header.php'; 
    104104                        ?>
    105105                        </p>
    106106
    107                         <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>
     107                        <p><?php _e( 'Do you wish all software came with these freedoms? We do! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
    108108                </div>
    109109        </div>
    110110
  • src/wp-admin/includes/ajax-actions.php

    diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php
    index 1ba480f2f1..ddc5284f9c 100644
    a b function wp_ajax_replyto_comment( $action ) { 
    12711271        if ( empty( $post->post_status ) ) {
    12721272                wp_die( 1 );
    12731273        } elseif ( in_array( $post->post_status, array( 'draft', 'pending', 'trash' ), true ) ) {
    1274                 wp_die( __( 'Error: You can&#8217;t reply to a comment on a draft post.' ) );
     1274                wp_die( __( 'Error: You can not reply to a comment on a draft post.' ) );
    12751275        }
    12761276
    12771277        $user = wp_get_current_user();
  • src/wp-admin/includes/class-custom-background.php

    diff --git a/src/wp-admin/includes/class-custom-background.php b/src/wp-admin/includes/class-custom-background.php
    index a4ca32f4df..641d89eb9e 100644
    a b class Custom_Background { 
    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/includes/class-custom-image-header.php

    diff --git a/src/wp-admin/includes/class-custom-image-header.php b/src/wp-admin/includes/class-custom-image-header.php
    index 68fc78797d..14862a0286 100644
    a b class Custom_Image_Header { 
    109109                                'title'   => __( 'Header Image' ),
    110110                                'content' =>
    111111                                        '<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>' .
    112                                         '<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>' .
     112                                        '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you would like and click the &#8220;Save Changes&#8221; button.' ) . '</p>' .
    113113                                        '<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>' .
    114                                         '<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>',
     114                                        '<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>',
    115115                        )
    116116                );
    117117
    class Custom_Image_Header { 
    127127                                        ) .
    128128                                        '</p>' .
    129129                                        '<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>' .
    130                                         '<p>' . __( 'Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!' ) . '</p>',
     130                                        '<p>' . __( 'Do not forget to click &#8220;Save Changes&#8221; when you are done!' ) . '</p>',
    131131                        )
    132132                );
    133133
  • src/wp-admin/includes/class-ftp-sockets.php

    diff --git a/src/wp-admin/includes/class-ftp-sockets.php b/src/wp-admin/includes/class-ftp-sockets.php
    index 6d802f5f8d..741fae4e88 100644
    a b class ftp_sockets extends ftp_base { 
    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","can not 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","can not 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","can not 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","can not 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-ftp.php

    diff --git a/src/wp-admin/includes/class-ftp.php b/src/wp-admin/includes/class-ftp.php
    index cb8a033631..a468c6a09e 100644
    a b class ftp_base { 
    334334                } while($this->_code<200);
    335335                $this->_ready=true;
    336336                $syst=$this->systype();
    337                 if(!$syst) $this->SendMSG("Can't detect remote OS");
     337                if(!$syst) $this->SendMSG("Can not detect remote OS");
    338338                else {
    339339                        if(preg_match("/win|dos|novell/i", $syst[0])) $this->OS_remote=FTP_OS_Windows;
    340340                        elseif(preg_match("/os/i", $syst[0])) $this->OS_remote=FTP_OS_Mac;
    class ftp_base { 
    342342                        else $this->OS_remote=FTP_OS_Mac;
    343343                        $this->SendMSG("Remote OS: ".$this->OS_FullName[$this->OS_remote]);
    344344                }
    345                 if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled");
     345                if(!$this->features()) $this->SendMSG("Can not get features list. All supported - disabled");
    346346                else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features)));
    347347                return TRUE;
    348348        }
    class ftp_base { 
    371371                }
    372372                $this->SendMSG("Authentication succeeded");
    373373                if(empty($this->_features)) {
    374                         if(!$this->features()) $this->SendMSG("Can't get features list. All supported - disabled");
     374                        if(!$this->features()) $this->SendMSG("Can not get features list. All supported - disabled");
    375375                        else $this->SendMSG("Supported features: ".implode(", ", array_keys($this->_features)));
    376376                }
    377377                return TRUE;
    class ftp_base { 
    480480                        return FALSE;
    481481                }
    482482                if($this->_curtype!=FTP_BINARY) {
    483                         $this->PushError("restore", "can't restore in ASCII mode");
     483                        $this->PushError("restore", "can not restore in ASCII mode");
    484484                        return FALSE;
    485485                }
    486486                if(!$this->_exec("REST ".$from, "resore")) return FALSE;
    class ftp_base { 
    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","can not open local file", "Cannot create \"".$localfile."\"");
    557557                        return FALSE;
    558558                }
    559559                if($this->_can_restore and $rest!=0) fseek($fp, $rest);
    class ftp_base { 
    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","can not 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","can not open local file", "Cannot read file \"".$localfile."\"");
    620620                        return FALSE;
    621621                }
    622622                if($this->_can_restore and $rest!=0) fseek($fp, $rest);
    class ftp_base { 
    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","can not open local folder", "Cannot stat folder \"".$local."\"");
    653653                        return FALSE;
    654654                }
    655655                if(!is_dir($local)) return $this->put($local, $remote);
    class ftp_base { 
    662662                        }
    663663                        closedir($handle);
    664664                } else {
    665                         $this->PushError("mput","can't open local folder", "Cannot read folder \"".$local."\"");
     665                        $this->PushError("mput","can not open local folder", "Cannot read folder \"".$local."\"");
    666666                        return FALSE;
    667667                }
    668668                if(empty($list)) return TRUE;
    class ftp_base { 
    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","can not read remote folder list", "Can not 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","can not create local folder", "Cannot create folder \"".$local."\"");
    692692                                return FALSE;
    693693                        }
    694694                }
    class ftp_base { 
    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", "can not copy folder", "Can not 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", "can not copy file", "Can not copy remote file \"".$remote."/".$el["name"]."\" to local \"".$local."/".$el["name"]."\"");
    710710                                        $ret=false;
    711711                                        if(!$continious) break;
    712712                                }
    class ftp_base { 
    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","can not read remote folder list", "Can not read remote folder \"".$remote."\" contents");
    725725                        return false;
    726726                }
    727727
    class ftp_base { 
    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", "can not delete file", "Can not delete remote file \"".$remote."/".$el["name"]."\"");
    746746                                        $ret=false;
    747747                                        if(!$continious) break;
    748748                                }
    class ftp_base { 
    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", "can not delete folder", "Can not delete remote folder \"".$remote."/".$el["name"]."\"");
    754754                        $ret=false;
    755755                }
    756756                return $ret;
    class ftp_base { 
    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","can not read remote folder list", "Can not read remote folder \"".$remote."\" contents");
    830830                        return false;
    831831                }
    832832
  • src/wp-admin/includes/class-theme-upgrader.php

    diff --git a/src/wp-admin/includes/class-theme-upgrader.php b/src/wp-admin/includes/class-theme-upgrader.php
    index 3a7beaf1fd..1086dda611 100644
    a b class Theme_Upgrader extends WP_Upgrader { 
    570570                                $this->strings['incompatible_archive'],
    571571                                sprintf(
    572572                                        /* translators: %s: style.css */
    573                                         __( 'The %s stylesheet doesn&#8217;t contain a valid theme header.' ),
     573                                        __( 'The %s stylesheet does not contain a valid theme header.' ),
    574574                                        '<code>style.css</code>'
    575575                                )
    576576                        );
  • src/wp-admin/includes/class-wp-plugin-install-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
    index c214cd333b..bf1ebb9be5 100644
    a b class WP_Plugin_Install_List_Table extends WP_List_Table { 
    671671                        if ( ! $compatible_php || ! $compatible_wp ) {
    672672                                echo '<div class="notice inline notice-error notice-alt"><p>';
    673673                                if ( ! $compatible_php && ! $compatible_wp ) {
    674                                         _e( 'This plugin doesn&#8217;t work with your versions of WordPress and PHP.' );
     674                                        _e( 'This plugin does not work with your versions of WordPress and PHP.' );
    675675                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    676676                                                printf(
    677677                                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    class WP_Plugin_Install_List_Table extends WP_List_Table { 
    695695                                                wp_update_php_annotation( '</p><p><em>', '</em>' );
    696696                                        }
    697697                                } elseif ( ! $compatible_wp ) {
    698                                         _e( 'This plugin doesn&#8217;t work with your version of WordPress.' );
     698                                        _e( 'This plugin does not work with your version of WordPress.' );
    699699                                        if ( current_user_can( 'update_core' ) ) {
    700700                                                printf(
    701701                                                        /* translators: %s: URL to WordPress Updates screen. */
    class WP_Plugin_Install_List_Table extends WP_List_Table { 
    704704                                                );
    705705                                        }
    706706                                } elseif ( ! $compatible_php ) {
    707                                         _e( 'This plugin doesn&#8217;t work with your version of PHP.' );
     707                                        _e( 'This plugin does not work with your version of PHP.' );
    708708                                        if ( current_user_can( 'update_php' ) ) {
    709709                                                printf(
    710710                                                        /* translators: %s: URL to Update PHP page. */
  • src/wp-admin/includes/class-wp-site-health-auto-updates.php

    diff --git a/src/wp-admin/includes/class-wp-site-health-auto-updates.php b/src/wp-admin/includes/class-wp-site-health-auto-updates.php
    index ebc3547165..65d82501b7 100644
    a b class WP_Site_Health_Auto_Updates { 
    292292                }
    293293
    294294                return array(
    295                         'description' => __( "Your installation of WordPress doesn't require FTP credentials to perform updates." ),
     295                        'description' => __( "Your installation of WordPress does not require FTP credentials to perform updates." ),
    296296                        'severity'    => 'pass',
    297297                );
    298298        }
  • src/wp-admin/includes/class-wp-site-health.php

    diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
    index 20b2f0e469..79e250f263 100644
    a b class WP_Site_Health { 
    467467                                        ),
    468468                                        $unused_plugins
    469469                                ),
    470                                 __( 'Inactive plugins are tempting targets for attackers. If you&#8217;re not going to use a plugin, you should consider removing it.' )
     470                                __( 'Inactive plugins are tempting targets for attackers. If you are not going to use a plugin, you should consider removing it.' )
    471471                        );
    472472
    473473                        $result['actions'] .= sprintf(
    class WP_Site_Health { 
    634634                                                ),
    635635                                                sprintf(
    636636                                                        /* translators: 1: The currently active theme. 2: The active theme's parent theme. */
    637                                                         __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ),
     637                                                        __( 'To enhance your site&#8217;s security, you should consider removing any themes you are not using. You should keep your current theme, %1$s, and %2$s, its parent theme.' ),
    638638                                                        $active_theme->name,
    639639                                                        $active_theme->parent()->name
    640640                                                )
    class WP_Site_Health { 
    653653                                                ),
    654654                                                sprintf(
    655655                                                        /* translators: 1: The default theme for WordPress. 2: The currently active theme. 3: The active theme's parent theme. */
    656                                                         __( 'To enhance your site&#8217;s security, you should consider removing any themes you&#8217;re not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ),
     656                                                        __( 'To enhance your site&#8217;s security, you should consider removing any themes you are not using. You should keep %1$s, the default WordPress theme, %2$s, your current theme, and %3$s, its parent theme.' ),
    657657                                                        $default_theme ? $default_theme->name : WP_DEFAULT_THEME,
    658658                                                        $active_theme->name,
    659659                                                        $active_theme->parent()->name
  • src/wp-admin/includes/dashboard.php

    diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
    index 1b70f65879..74f87da717 100644
    a b function wp_print_community_events_templates() { 
    14141414                         * that they match the expected location before including them.
    14151415                         * Use endonyms (native locale names) whenever possible.
    14161416                         */
    1417                         __( 'We couldn&#8217;t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
     1417                        __( 'We could not locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
    14181418                        '<em>{{data.unknownCity}}</em>'
    14191419                );
    14201420                ?>
    function wp_print_community_events_templates() { 
    14621462                                <?php
    14631463                                printf(
    14641464                                        /* translators: 1: The city the user searched for, 2: Meetup organization documentation URL. */
    1465                                         __( 'There aren&#8217;t any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize a WordPress event</a>?' ),
     1465                                        __( 'There are not any events scheduled near %1$s at the moment. Would you like to <a href="%2$s">organize a WordPress event</a>?' ),
    14661466                                        '{{ data.location.description }}',
    14671467                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14681468                                );
    function wp_print_community_events_templates() { 
    14721472                                <?php
    14731473                                printf(
    14741474                                        /* translators: %s: Meetup organization documentation URL. */
    1475                                         __( 'There aren&#8217;t any events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
     1475                                        __( 'There are not any events scheduled near you at the moment. Would you like to <a href="%s">organize a WordPress event</a>?' ),
    14761476                                        __( 'https://make.wordpress.org/community/handbook/meetup-organizer/welcome/' )
    14771477                                );
    14781478                                ?>
  • src/wp-admin/includes/file.php

    diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php
    index 8a28c63adc..1b5fb9a9c9 100644
    a b function validate_file_to_edit( $file, $allowed_files = array() ) { 
    715715                        wp_die( __( 'Sorry, that file cannot be edited.' ) );
    716716
    717717                        // case 2 :
    718                         // wp_die( __('Sorry, can&#8217;t call files with their real path.' ));
     718                        // wp_die( __('Sorry, can not call files with their real path.' ));
    719719
    720720                case 3:
    721721                        wp_die( __( 'Sorry, that file cannot be edited.' ) );
  • src/wp-admin/includes/meta-boxes.php

    diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
    index c14ae52ddc..80f24aba21 100644
    a b function post_submit_meta_box( $post, $args = array() ) { 
    287287                                        <?php
    288288                                        printf(
    289289                                                /* translators: %s: URL to the Customizer. */
    290                                                 __( 'This draft comes from your <a href="%s">unpublished customization changes</a>. You can edit, but there&#8217;s no need to publish now. It will be published automatically with those changes.' ),
     290                                                __( 'This draft comes from your <a href="%s">unpublished customization changes</a>. You can edit, but there is no need to publish now. It will be published automatically with those changes.' ),
    291291                                                esc_url(
    292292                                                        add_query_arg(
    293293                                                                'changeset_uuid',
  • src/wp-admin/includes/template.php

    diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
    index 4228d931ba..9056faf457 100644
    a b function wp_terms_checklist( $post_id = 0, $args = array() ) { 
    195195 *
    196196 * If the $echo argument is true then the elements for a list of checkbox
    197197 * `<input>` elements labelled with the names of the selected terms is output.
    198  * If the $post_ID global isn't empty then the terms associated with that
     198 * If the $post_ID global is not empty then the terms associated with that
    199199 * post will be marked as checked.
    200200 *
    201201 * @since 2.5.0
    function do_block_editor_incompatible_meta_box( $object, $box ) { 
    11401140        echo '<p>';
    11411141        if ( $plugin ) {
    11421142                /* translators: %s: The name of the plugin that generated this meta box. */
    1143                 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
     1143                printf( __( "This meta box, from the %s plugin, is not compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
    11441144        } else {
    1145                 _e( "This meta box isn't compatible with the block editor." );
     1145                _e( "This meta box is not compatible with the block editor." );
    11461146        }
    11471147        echo '</p>';
    11481148
    function do_meta_boxes( $screen, $context, $object ) { 
    13841384                                                                <p>
    13851385                                                                        <?php
    13861386                                                                                /* translators: %s: The name of the plugin that generated this meta box. */
    1387                                                                                 printf( __( "This meta box, from the %s plugin, isn't compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
     1387                                                                                printf( __( "This meta box, from the %s plugin, is not compatible with the block editor." ), "<strong>{$plugin['Name']}</strong>" );
    13881388                                                                        ?>
    13891389                                                                </p>
    13901390                                                        </div>
  • src/wp-admin/includes/theme.php

    diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php
    index 153c319656..e2dbac5882 100644
    a b function customize_themes_print_templates() { 
    869869                                                                                <?php
    870870                                                                                printf(
    871871                                                                                        /* translators: %s: Theme name. */
    872                                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     872                                                                                        __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    873873                                                                                        '{{{ data.name }}}'
    874874                                                                                );
    875875                                                                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    function customize_themes_print_templates() { 
    899899                                                                                <?php
    900900                                                                                printf(
    901901                                                                                        /* translators: %s: Theme name. */
    902                                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     902                                                                                        __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    903903                                                                                        '{{{ data.name }}}'
    904904                                                                                );
    905905                                                                                if ( current_user_can( 'update_core' ) ) {
    function customize_themes_print_templates() { 
    914914                                                                                <?php
    915915                                                                                printf(
    916916                                                                                        /* translators: %s: Theme name. */
    917                                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     917                                                                                        __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    918918                                                                                        '{{{ data.name }}}'
    919919                                                                                );
    920920                                                                                if ( current_user_can( 'update_php' ) ) {
    function customize_themes_print_templates() { 
    948948                                                <div class="notice notice-error notice-alt notice-large"><p>
    949949                                                        <# if ( ! data.compatibleWP && ! data.compatiblePHP ) { #>
    950950                                                                <?php
    951                                                                 _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     951                                                                _e( 'This theme does not work with your versions of WordPress and PHP.' );
    952952                                                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    953953                                                                        printf(
    954954                                                                                /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    function customize_themes_print_templates() { 
    974974                                                                ?>
    975975                                                        <# } else if ( ! data.compatibleWP ) { #>
    976976                                                                <?php
    977                                                                 _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     977                                                                _e( 'This theme does not work with your version of WordPress.' );
    978978                                                                if ( current_user_can( 'update_core' ) ) {
    979979                                                                        printf(
    980980                                                                                /* translators: %s: URL to WordPress Updates screen. */
    function customize_themes_print_templates() { 
    985985                                                                ?>
    986986                                                        <# } else if ( ! data.compatiblePHP ) { #>
    987987                                                                <?php
    988                                                                 _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     988                                                                _e( 'This theme does not work with your version of PHP.' );
    989989                                                                if ( current_user_can( 'update_php' ) ) {
    990990                                                                        printf(
    991991                                                                                /* translators: %s: URL to Update PHP page. */
  • src/wp-admin/includes/update.php

    diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php
    index 03cd1f2bcd..c12d2ae15d 100644
    a b function wp_plugin_update_row( $file, $plugin_data ) { 
    534534                        } else {
    535535                                printf(
    536536                                        /* translators: 1: Plugin name, 2: Details URL, 3: Additional link attributes, 4: Version number 5: URL to Update PHP page. */
    537                                         __( '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>.' ),
     537                                        __( '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>.' ),
    538538                                        $plugin_name,
    539539                                        esc_url( $details_url ),
    540540                                        sprintf(
    function wp_theme_update_row( $theme_key, $theme ) { 
    728728                if ( ! $compatible_wp && ! $compatible_php ) {
    729729                        printf(
    730730                                /* translators: %s: Theme name. */
    731                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     731                                __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    732732                                $theme['Name']
    733733                        );
    734734                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    function wp_theme_update_row( $theme_key, $theme ) { 
    756756                } elseif ( ! $compatible_wp ) {
    757757                        printf(
    758758                                /* translators: %s: Theme name. */
    759                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     759                                __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    760760                                $theme['Name']
    761761                        );
    762762                        if ( current_user_can( 'update_core' ) ) {
    function wp_theme_update_row( $theme_key, $theme ) { 
    769769                } elseif ( ! $compatible_php ) {
    770770                        printf(
    771771                                /* translators: %s: Theme name. */
    772                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     772                                __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    773773                                $theme['Name']
    774774                        );
    775775                        if ( current_user_can( 'update_php' ) ) {
  • src/wp-admin/includes/user.php

    diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php
    index ab63f9e302..a948813a5e 100644
    a b function edit_user( $user_id = 0 ) { 
    174174
    175175        // Checking the password has been typed twice the same.
    176176        if ( ( $update || ! empty( $pass1 ) ) && $pass1 != $pass2 ) {
    177                 $errors->add( 'pass', __( '<strong>Error</strong>: Passwords don&#8217;t match. Please enter the same password in both password fields.' ), array( 'form-field' => 'pass1' ) );
     177                $errors->add( 'pass', __( '<strong>Error</strong>: Passwords do not match. Please enter the same password in both password fields.' ), array( 'form-field' => 'pass1' ) );
    178178        }
    179179
    180180        if ( ! empty( $pass1 ) ) {
    function edit_user( $user_id = 0 ) { 
    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        } else {
    205205                $owner_id = email_exists( $user->user_email );
    206206                if ( $owner_id && ( ! $update || ( $owner_id != $user->ID ) ) ) {
  • src/wp-admin/install.php

    diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php
    index 5910287139..3751b1916f 100644
    a b switch ( $step ) { 
    358358<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>
    359359
    360360<h2><?php _e( 'Information needed' ); ?></h2>
    361 <p><?php _e( 'Please provide the following information. Don&#8217;t worry, you can always change these settings later.' ); ?></p>
     361<p><?php _e( 'Please provide the following information. Do not worry, you can always change these settings later.' ); ?></p>
    362362
    363363                <?php
    364364                display_setup_form();
    switch ( $step ) { 
    405405                        $error = true;
    406406                } elseif ( ! is_email( $admin_email ) ) {
    407407                        // TODO: Poka-yoke.
    408                         display_setup_form( __( 'Sorry, that isn&#8217;t a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
     408                        display_setup_form( __( 'Sorry, that is not a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
    409409                        $error = true;
    410410                }
    411411
  • src/wp-admin/media.php

    diff --git a/src/wp-admin/media.php b/src/wp-admin/media.php
    index fe2e9a8617..71c6796562 100644
    a b switch ( $action ) { 
    6565                $att = get_post( $att_id );
    6666
    6767                if ( empty( $att->ID ) ) {
    68                         wp_die( __( 'You attempted to edit an attachment that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     68                        wp_die( __( 'You attempted to edit an attachment that does not exist. Perhaps it was deleted?' ) );
    6969                }
    7070                if ( 'attachment' !== $att->post_type ) {
    71                         wp_die( __( 'You attempted to edit an item that isn&#8217;t an attachment. Please go back and try again.' ) );
     71                        wp_die( __( 'You attempted to edit an item that is not an attachment. Please go back and try again.' ) );
    7272                }
    7373                if ( 'trash' === $att->post_status ) {
    74                         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.' ) );
     74                        wp_die( __( 'You can not edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );
    7575                }
    7676
    7777                add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );
  • src/wp-admin/nav-menus.php

    diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php
    index d340fb6b67..4ba4432f76 100644
    a b if ( ! $locations_screen ) : // Main tab. 
    618618
    619619        $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>';
    620620        $menu_management .= '<ul><li>' . __( 'To edit an existing menu, <strong>choose a menu from the drop down and click Select</strong>' ) . '</li>';
    621         $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>';
     621        $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>';
    622622        $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>';
    623623
    624624        get_current_screen()->add_help_tab(
    if ( ! $locations_screen ) : // Main tab. 
    645645        );
    646646else : // Locations tab.
    647647        $locations_overview  = '<p>' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '</p>';
    648         $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s drop down.</strong> When you&#8217;re finished, <strong>click Save Changes</strong>' ) . '</li>';
     648        $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s drop down.</strong> When you are finished, <strong>click Save Changes</strong>' ) . '</li>';
    649649        $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme location, <strong>click the adjacent &#8217;Edit&#8217; link</strong>' ) . '</li>';
    650650        $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the &#8217;Use new menu&#8217; link</strong>. Your new menu will be automatically assigned to that theme location' ) . '</li></ul>';
    651651
    require_once ABSPATH . 'wp-admin/admin-header.php'; 
    835835                        <?php
    836836                        printf(
    837837                                /* translators: %s: URL to create a new menu. */
    838                                 __( 'Edit your menu below, or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ),
     838                                __( 'Edit your menu below, or <a href="%s">create a new menu</a>. Do not forget to save your changes!' ),
    839839                                esc_url(
    840840                                        add_query_arg(
    841841                                                array(
    require_once ABSPATH . 'wp-admin/admin-header.php'; 
    900900                                <?php
    901901                                printf(
    902902                                        /* translators: %s: URL to create a new menu. */
    903                                         __( 'or <a href="%s">create a new menu</a>. Don&#8217;t forget to save your changes!' ),
     903                                        __( 'or <a href="%s">create a new menu</a>. Do not forget to save your changes!' ),
    904904                                        esc_url(
    905905                                                add_query_arg(
    906906                                                        array(
  • src/wp-admin/network/site-new.php

    diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php
    index ac466db9a9..93b2a19768 100644
    a b if ( isset( $_REQUEST['action'] ) && 'add-site' === $_REQUEST['action'] ) { 
    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( __( 'Can not create an empty site.' ) );
    4141        }
    4242
    4343        $blog   = $_POST['blog'];
  • src/wp-admin/network/upgrade.php

    diff --git a/src/wp-admin/network/upgrade.php b/src/wp-admin/network/upgrade.php
    index 12b88fbe92..9e27b598f1 100644
    a b get_current_screen()->add_help_tab( 
    2222                'title'   => __( 'Overview' ),
    2323                'content' =>
    2424                        '<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>' .
    25                         '<p>' . __( 'If a version update to core has not happened, clicking this button won&#8217;t affect anything.' ) . '</p>' .
     25                        '<p>' . __( 'If a version update to core has not happened, clicking this button will not affect anything.' ) . '</p>' .
    2626                        '<p>' . __( 'If this process fails for any reason, users logging in to their sites will force the same update.' ) . '</p>',
    2727        )
    2828);
    switch ( $action ) { 
    122122                        do_action( 'wpmu_upgrade_site', $site_id );
    123123                }
    124124                echo '</ul>';
    125                 ?><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>
     125                ?><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>
    126126                <script type="text/javascript">
    127127                <!--
    128128                function nextpage() {
  • src/wp-admin/options-discussion.php

    diff --git a/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php
    index 64eb4d33eb..7f1cd64cd9 100644
    a b get_current_screen()->add_help_tab( 
    2222        array(
    2323                'id'      => 'overview',
    2424                'title'   => __( 'Overview' ),
    25                 '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>' .
     25                '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>' .
    2626                        '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>',
    2727        )
    2828);
  • src/wp-admin/options-permalink.php

    diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php
    index 17a9083cb6..46ddd111b4 100644
    a b printf( __( 'If you like, you may enter custom structures for your category and 
    368368                                <?php
    369369                                printf(
    370370                                        /* translators: 1: web.config, 2: Documentation URL, 3: CTRL + a, 4: Element code. */
    371                                         __( '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.' ),
     371                                        __( '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.' ),
    372372                                        '<code>web.config</code>',
    373373                                        __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    374374                                        '<kbd>CTRL + a</kbd>',
    printf( __( 'If you like, you may enter custom structures for your category and 
    394394                        <?php
    395395                        printf(
    396396                                /* translators: 1: Documentation URL, 2: web.config, 3: CTRL + a */
    397                                 __( '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.' ),
     397                                __( '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.' ),
    398398                                __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    399399                                '<code>web.config</code>',
    400400                                '<kbd>CTRL + a</kbd>'
    else : 
    424424                <?php
    425425                printf(
    426426                        /* translators: 1: .htaccess, 2: Documentation URL, 3: CTRL + a */
    427                         __( '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.' ),
     427                        __( '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.' ),
    428428                        '<code>.htaccess</code>',
    429429                        __( 'https://wordpress.org/support/article/changing-file-permissions/' ),
    430430                        '<kbd>CTRL + a</kbd>'
  • src/wp-admin/plugin-editor.php

    diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
    index 82d9cc5aff..129a64cd42 100644
    a b get_current_screen()->add_help_tab( 
    125125                'title'   => __( 'Overview' ),
    126126                'content' =>
    127127                                '<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>' .
    128                                 '<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>' .
     128                                '<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 are finished.' ) . '</p>' .
    129129                                '<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>' .
    130130                                '<p id="editor-keyboard-trap-help-1">' . __( 'When using a keyboard to navigate:' ) . '</p>' .
    131131                                '<ul>' .
    get_current_screen()->add_help_tab( 
    133133                                '<li id="editor-keyboard-trap-help-3">' . __( 'To move away from this area, press the Esc key followed by the Tab key.' ) . '</li>' .
    134134                                '<li id="editor-keyboard-trap-help-4">' . __( 'Screen reader users: when in forms mode, you may need to press the Esc key twice.' ) . '</li>' .
    135135                                '</ul>' .
    136                                 '<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>' .
     136                                '<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>' .
    137137                                ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ),
    138138        )
    139139);
  • src/wp-admin/plugin-install.php

    diff --git a/src/wp-admin/plugin-install.php b/src/wp-admin/plugin-install.php
    index a8b4e333ab..f70f8f9a83 100644
    a b get_current_screen()->add_help_tab( 
    109109                'id'      => 'adding-plugins',
    110110                'title'   => __( 'Adding Plugins' ),
    111111                'content' =>
    112                                 '<p>' . __( 'If you know what you&#8217;re looking for, Search is your best bet. The Search screen has options to search the WordPress Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.' ) . '</p>' .
     112                                '<p>' . __( 'If you know what you are looking for, Search is your best bet. The Search screen has options to search the WordPress Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.' ) . '</p>' .
    113113                                '<p>' . __( 'If you just want to get an idea of what&#8217;s available, you can browse Featured and Popular plugins by using the links above the plugins list. These sections rotate regularly.' ) . '</p>' .
    114114                                '<p>' . __( 'You can also browse a user&#8217;s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.' ) . '</p>' .
    115115                                '<p>' . __( 'If you want to install a plugin that you&#8217;ve downloaded elsewhere, click the Upload Plugin button above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.' ) . '</p>',
  • src/wp-admin/plugins.php

    diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
    index 373e1f8ad7..11aea0e1d5 100644
    a b get_current_screen()->add_help_tab( 
    560560                                '<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>' .
    561561                                '<p>' . sprintf(
    562562                                        /* translators: %s: WP_PLUGIN_DIR constant value. */
    563                                         __( '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.' ),
     563                                        __( 'If something goes wrong with a plugin and you can not use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ),
    564564                                        '<code>' . WP_PLUGIN_DIR . '</code>'
    565565                                ) . '</p>',
    566566        )
  • src/wp-admin/post.php

    diff --git a/src/wp-admin/post.php b/src/wp-admin/post.php
    index a1113ed35f..56f23d74cf 100644
    a b switch ( $action ) { 
    124124                }
    125125
    126126                if ( ! $post ) {
    127                         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     127                        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    128128                }
    129129
    130130                if ( ! $post_type_object ) {
    switch ( $action ) { 
    140140                }
    141141
    142142                if ( 'trash' === $post->post_status ) {
    143                         wp_die( __( 'You can&#8217;t edit this item because it is in the Trash. Please restore it and try again.' ) );
     143                        wp_die( __( 'You can not edit this item because it is in the Trash. Please restore it and try again.' ) );
    144144                }
    145145
    146146                if ( ! empty( $_GET['get-post-lock'] ) ) {
  • src/wp-admin/setup-config.php

    diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
    index 881398ff57..979f6e546e 100644
    a b switch ( $step ) { 
    170170                <?php
    171171                printf(
    172172                        /* translators: %s: wp-config.php */
    173                         __( 'We&#8217;re going to use this information to create a %s file.' ),
     173                        __( 'We are going to use this information to create a %s file.' ),
    174174                        '<code>wp-config.php</code>'
    175175                );
    176176                ?>
    switch ( $step ) { 
    178178                <?php
    179179                printf(
    180180                        /* translators: 1: wp-config-sample.php, 2: wp-config.php */
    181                         __( '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.' ),
     181                        __( '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.' ),
    182182                        '<code>wp-config-sample.php</code>',
    183183                        '<code>wp-config.php</code>'
    184184                );
    switch ( $step ) { 
    192192                );
    193193                ?>
    194194</p>
    195 <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>
     195<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 are ready&hellip;' ); ?></p>
    196196
    197197<p class="step"><a href="<?php echo $step_1; ?>" class="button button-large"><?php _e( 'Let&#8217;s go!' ); ?></a></p>
    198198                <?php
    switch ( $step ) { 
    208208                ?>
    209209<h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ); ?></h1>
    210210<form method="post" action="setup-config.php?step=2">
    211         <p><?php _e( 'Below you should enter your database connection details. If you&#8217;re not sure about these, contact your host.' ); ?></p>
     211        <p><?php _e( 'Below you should enter your database connection details. If you are not sure about these, contact your host.' ); ?></p>
    212212        <table class="form-table" role="presentation">
    213213                <tr>
    214214                        <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
    switch ( $step ) { 
    231231                        <td id="dbhost-desc">
    232232                        <?php
    233233                                /* translators: %s: localhost */
    234                                 printf( __( 'You should be able to get this info from your web host, if %s doesn&#8217;t work.' ), '<code>localhost</code>' );
     234                                printf( __( 'You should be able to get this info from your web host, if %s does not work.' ), '<code>localhost</code>' );
    235235                        ?>
    236236                        </td>
    237237                </tr>
  • src/wp-admin/term.php

    diff --git a/src/wp-admin/term.php b/src/wp-admin/term.php
    index d691cca00d..55d1a7eb94 100644
    a b $tag_ID = absint( $_REQUEST['tag_ID'] ); 
    2828$tag    = get_term( $tag_ID, $taxnow, OBJECT, 'edit' );
    2929
    3030if ( ! $tag instanceof WP_Term ) {
    31         wp_die( __( 'You attempted to edit an item that doesn&#8217;t exist. Perhaps it was deleted?' ) );
     31        wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
    3232}
    3333
    3434$tax      = get_taxonomy( $tag->taxonomy );
  • src/wp-admin/theme-editor.php

    diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
    index 68228edc40..8a4e05d03c 100644
    a b if ( $file_description !== $file_show ) { 
    203203                        <?php
    204204                        printf(
    205205                                /* translators: %s: Link to Custom CSS section in the Customizer. */
    206                                 __( 'There&#8217;s no need to change your CSS here &mdash; you can edit and live preview CSS changes in the <a href="%s">built-in CSS editor</a>.' ),
     206                                __( 'There is no need to change your CSS here &mdash; you can edit and live preview CSS changes in the <a href="%s">built-in CSS editor</a>.' ),
    207207                                esc_url( add_query_arg( 'autofocus[section]', 'custom_css', admin_url( 'customize.php' ) ) )
    208208                        );
    209209                        ?>
  • src/wp-admin/theme-install.php

    diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
    index cd3a607ea9..e7db07911c 100644
    a b get_current_screen()->add_help_tab( 
    124124);
    125125
    126126$help_installing =
    127         '<p>' . __( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you&#8217;re interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.' ) . '</p>' .
     127        '<p>' . __( 'Once you have generated a list of themes, you can preview and install any of them. Click on the thumbnail of the theme you are interested in previewing. It will open up in a full-screen Preview page to give you a better idea of how that theme will look.' ) . '</p>' .
    128128        '<p>' . __( 'To install the theme so you can preview it with your site&#8217;s content and customize its theme options, click the "Install" button at the top of the left-hand pane. The theme files will be downloaded to your website automatically. When this is complete, the theme is now available for activation, which you can do by clicking the "Activate" link, or by navigating to your Manage Themes screen and clicking the "Live Preview" link under any installed theme&#8217;s thumbnail image.' ) . '</p>';
    129129
    130130get_current_screen()->add_help_tab(
    if ( $tab ) { 
    295295                <div class="notice notice-error notice-alt"><p>
    296296                        <# if ( ! data.compatible_wp && ! data.compatible_php ) { #>
    297297                                <?php
    298                                 _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     298                                _e( 'This theme does not work with your versions of WordPress and PHP.' );
    299299                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    300300                                        printf(
    301301                                                /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    if ( $tab ) { 
    321321                                ?>
    322322                        <# } else if ( ! data.compatible_wp ) { #>
    323323                                <?php
    324                                 _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     324                                _e( 'This theme does not work with your version of WordPress.' );
    325325                                if ( current_user_can( 'update_core' ) ) {
    326326                                        printf(
    327327                                                /* translators: %s: URL to WordPress Updates screen. */
    if ( $tab ) { 
    332332                                ?>
    333333                        <# } else if ( ! data.compatible_php ) { #>
    334334                                <?php
    335                                 _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     335                                _e( 'This theme does not work with your version of PHP.' );
    336336                                if ( current_user_can( 'update_php' ) ) {
    337337                                        printf(
    338338                                                /* translators: %s: URL to Update PHP page. */
    if ( $tab ) { 
    481481                                                        <div class="notice notice-error notice-alt notice-large"><p>
    482482                                                                <# if ( ! data.compatible_wp && ! data.compatible_php ) { #>
    483483                                                                        <?php
    484                                                                         _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     484                                                                        _e( 'This theme does not work with your versions of WordPress and PHP.' );
    485485                                                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    486486                                                                                printf(
    487487                                                                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    if ( $tab ) { 
    507507                                                                        ?>
    508508                                                                <# } else if ( ! data.compatible_wp ) { #>
    509509                                                                        <?php
    510                                                                         _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     510                                                                        _e( 'This theme does not work with your version of WordPress.' );
    511511                                                                        if ( current_user_can( 'update_core' ) ) {
    512512                                                                                printf(
    513513                                                                                        /* translators: %s: URL to WordPress Updates screen. */
    if ( $tab ) { 
    518518                                                                        ?>
    519519                                                                <# } else if ( ! data.compatible_php ) { #>
    520520                                                                        <?php
    521                                                                         _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     521                                                                        _e( 'This theme does not work with your version of PHP.' );
    522522                                                                        if ( current_user_can( 'update_php' ) ) {
    523523                                                                                printf(
    524524                                                                                        /* translators: %s: URL to Update PHP page. */
  • src/wp-admin/themes.php

    diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
    index 9863aa68ae..3c984589db 100644
    a b foreach ( $themes as $theme ) : 
    395395                                if ( ! $theme['updateResponse']['compatibleWP'] && ! $theme['updateResponse']['compatiblePHP'] ) {
    396396                                        printf(
    397397                                                /* translators: %s: Theme name. */
    398                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     398                                                __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    399399                                                $theme['name']
    400400                                        );
    401401                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    foreach ( $themes as $theme ) : 
    423423                                } elseif ( ! $theme['updateResponse']['compatibleWP'] ) {
    424424                                        printf(
    425425                                                /* translators: %s: Theme name. */
    426                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     426                                                __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    427427                                                $theme['name']
    428428                                        );
    429429                                        if ( current_user_can( 'update_core' ) ) {
    foreach ( $themes as $theme ) : 
    436436                                } elseif ( ! $theme['updateResponse']['compatiblePHP'] ) {
    437437                                        printf(
    438438                                                /* translators: %s: Theme name. */
    439                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     439                                                __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    440440                                                $theme['name']
    441441                                        );
    442442                                        if ( current_user_can( 'update_php' ) ) {
    foreach ( $themes as $theme ) : 
    457457        if ( ! $theme['compatibleWP'] || ! $theme['compatiblePHP'] ) {
    458458                echo '<div class="notice inline notice-error notice-alt"><p>';
    459459                if ( ! $theme['compatibleWP'] && ! $theme['compatiblePHP'] ) {
    460                         _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     460                        _e( 'This theme does not work with your versions of WordPress and PHP.' );
    461461                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    462462                                printf(
    463463                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    foreach ( $themes as $theme ) : 
    481481                                wp_update_php_annotation( '</p><p><em>', '</em>' );
    482482                        }
    483483                } elseif ( ! $theme['compatibleWP'] ) {
    484                         _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     484                        _e( 'This theme does not work with your version of WordPress.' );
    485485                        if ( current_user_can( 'update_core' ) ) {
    486486                                printf(
    487487                                        /* translators: %s: URL to WordPress Updates screen. */
    foreach ( $themes as $theme ) : 
    490490                                );
    491491                        }
    492492                } elseif ( ! $theme['compatiblePHP'] ) {
    493                         _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     493                        _e( 'This theme does not work with your version of PHP.' );
    494494                        if ( current_user_can( 'update_php' ) ) {
    495495                                printf(
    496496                                        /* translators: %s: URL to Update PHP page. */
    function wp_theme_auto_update_setting_template() { 
    746746                                        <?php
    747747                                        printf(
    748748                                                /* translators: %s: Theme name. */
    749                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     749                                                __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    750750                                                '{{{ data.name }}}'
    751751                                        );
    752752                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    function wp_theme_auto_update_setting_template() { 
    776776                                        <?php
    777777                                        printf(
    778778                                                /* translators: %s: Theme name. */
    779                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     779                                                __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    780780                                                '{{{ data.name }}}'
    781781                                        );
    782782                                        if ( current_user_can( 'update_core' ) ) {
    function wp_theme_auto_update_setting_template() { 
    791791                                        <?php
    792792                                        printf(
    793793                                                /* translators: %s: Theme name. */
    794                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     794                                                __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    795795                                                '{{{ data.name }}}'
    796796                                        );
    797797                                        if ( current_user_can( 'update_php' ) ) {
    function wp_theme_auto_update_setting_template() { 
    812812                <div class="notice notice-error notice-alt"><p>
    813813                        <# if ( ! data.compatibleWP && ! data.compatiblePHP ) { #>
    814814                                <?php
    815                                 _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     815                                _e( 'This theme does not work with your versions of WordPress and PHP.' );
    816816                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    817817                                        printf(
    818818                                                /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    function wp_theme_auto_update_setting_template() { 
    838838                                ?>
    839839                        <# } else if ( ! data.compatibleWP ) { #>
    840840                                <?php
    841                                 _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     841                                _e( 'This theme does not work with your version of WordPress.' );
    842842                                if ( current_user_can( 'update_core' ) ) {
    843843                                        printf(
    844844                                                /* translators: %s: URL to WordPress Updates screen. */
    function wp_theme_auto_update_setting_template() { 
    849849                                ?>
    850850                        <# } else if ( ! data.compatiblePHP ) { #>
    851851                                <?php
    852                                 _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     852                                _e( 'This theme does not work with your version of PHP.' );
    853853                                if ( current_user_can( 'update_php' ) ) {
    854854                                        printf(
    855855                                                /* translators: %s: URL to Update PHP page. */
    function wp_theme_auto_update_setting_template() { 
    956956                                        <div class="notice notice-error notice-alt notice-large"><p>
    957957                                                <# if ( ! data.compatibleWP && ! data.compatiblePHP ) { #>
    958958                                                        <?php
    959                                                         _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     959                                                        _e( 'This theme does not work with your versions of WordPress and PHP.' );
    960960                                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    961961                                                                printf(
    962962                                                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    function wp_theme_auto_update_setting_template() { 
    982982                                                        ?>
    983983                                                <# } else if ( ! data.compatibleWP ) { #>
    984984                                                        <?php
    985                                                         _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     985                                                        _e( 'This theme does not work with your version of WordPress.' );
    986986                                                        if ( current_user_can( 'update_core' ) ) {
    987987                                                                printf(
    988988                                                                        /* translators: %s: URL to WordPress Updates screen. */
    function wp_theme_auto_update_setting_template() { 
    993993                                                        ?>
    994994                                                <# } else if ( ! data.compatiblePHP ) { #>
    995995                                                        <?php
    996                                                         _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     996                                                        _e( 'This theme does not work with your version of PHP.' );
    997997                                                        if ( current_user_can( 'update_php' ) ) {
    998998                                                                printf(
    999999                                                                        /* translators: %s: URL to Update PHP page. */
    function wp_theme_auto_update_setting_template() { 
    10211021                                                                        <?php
    10221022                                                                        printf(
    10231023                                                                                /* translators: %s: Theme name. */
    1024                                                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     1024                                                                                __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    10251025                                                                                '{{{ data.name }}}'
    10261026                                                                        );
    10271027                                                                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    function wp_theme_auto_update_setting_template() { 
    10511051                                                                        <?php
    10521052                                                                        printf(
    10531053                                                                                /* translators: %s: Theme name. */
    1054                                                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     1054                                                                                __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    10551055                                                                                '{{{ data.name }}}'
    10561056                                                                        );
    10571057                                                                        if ( current_user_can( 'update_core' ) ) {
    function wp_theme_auto_update_setting_template() { 
    10661066                                                                        <?php
    10671067                                                                        printf(
    10681068                                                                                /* translators: %s: Theme name. */
    1069                                                                                 __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     1069                                                                                __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    10701070                                                                                '{{{ data.name }}}'
    10711071                                                                        );
    10721072                                                                        if ( current_user_can( 'update_php' ) ) {
  • src/wp-admin/update-core.php

    diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
    index a38e43c46f..f7a075ac44 100644
    a b function list_plugin_updates() { 
    525525                $compatible_php = is_php_version_compatible( $requires_php );
    526526
    527527                if ( ! $compatible_php && current_user_can( 'update_php' ) ) {
    528                         $compat .= '<br>' . __( 'This update doesn&#8217;t work with your version of PHP.' ) . '&nbsp;';
     528                        $compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . '&nbsp;';
    529529                        $compat .= sprintf(
    530530                                /* translators: %s: URL to Update PHP page. */
    531531                                __( '<a href="%s">Learn more about updating PHP</a>.' ),
    function list_theme_updates() { 
    671671                $compat = '';
    672672
    673673                if ( ! $compatible_wp && ! $compatible_php ) {
    674                         $compat .= '<br>' . __( 'This update doesn&#8217;t work with your versions of WordPress and PHP.' ) . '&nbsp;';
     674                        $compat .= '<br>' . __( 'This update does not work with your versions of WordPress and PHP.' ) . '&nbsp;';
    675675                        if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    676676                                $compat .= sprintf(
    677677                                        /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    function list_theme_updates() { 
    705705                                }
    706706                        }
    707707                } elseif ( ! $compatible_wp ) {
    708                         $compat .= '<br>' . __( 'This update doesn&#8217;t work with your version of WordPress.' ) . '&nbsp;';
     708                        $compat .= '<br>' . __( 'This update does not work with your version of WordPress.' ) . '&nbsp;';
    709709                        if ( current_user_can( 'update_core' ) ) {
    710710                                $compat .= sprintf(
    711711                                        /* translators: %s: URL to WordPress Updates screen. */
    function list_theme_updates() { 
    714714                                );
    715715                        }
    716716                } elseif ( ! $compatible_php ) {
    717                         $compat .= '<br>' . __( 'This update doesn&#8217;t work with your version of PHP.' ) . '&nbsp;';
     717                        $compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . '&nbsp;';
    718718                        if ( current_user_can( 'update_php' ) ) {
    719719                                $compat .= sprintf(
    720720                                        /* translators: %s: URL to Update PHP page. */
  • src/wp-admin/user-new.php

    diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php
    index 26da6a0ec4..220e0c53eb 100644
    a b $help = '<p>' . __( 'To add a new user to your site, fill in the form on this sc 
    258258
    259259if ( is_multisite() ) {
    260260        $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>' .
    261         '<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>';
     261        '<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>';
    262262} else {
    263263        $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>' .
    264264
    265         '<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>';
     265        '<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>';
    266266}
    267267
    268268$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

    diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
    index c3450dfd4b..6679a36efc 100644
    a b switch ( $wp_list_table->current_action() ) { 
    402402                check_admin_referer( 'remove-users' );
    403403
    404404                if ( ! is_multisite() ) {
    405                         wp_die( __( 'You can&#8217;t remove users.' ), 400 );
     405                        wp_die( __( 'You can not remove users.' ), 400 );
    406406                }
    407407
    408408                if ( empty( $_REQUEST['users'] ) ) {
    switch ( $wp_list_table->current_action() ) { 
    434434                check_admin_referer( 'bulk-users' );
    435435
    436436                if ( ! is_multisite() ) {
    437                         wp_die( __( 'You can&#8217;t remove users.' ), 400 );
     437                        wp_die( __( 'You can not remove users.' ), 400 );
    438438                }
    439439
    440440                if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) {
    switch ( $wp_list_table->current_action() ) { 
    575575                                        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other user roles have been changed.' ) . '</p></div>';
    576576                                        break;
    577577                                case 'err_admin_del':
    578                                         $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can&#8217;t delete the current user.' ) . '</p></div>';
     578                                        $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can not delete the current user.' ) . '</p></div>';
    579579                                        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other users have been deleted.' ) . '</p></div>';
    580580                                        break;
    581581                                case 'remove':
    582582                                        $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'User removed from this site.' ) . '</p></div>';
    583583                                        break;
    584584                                case 'err_admin_remove':
    585                                         $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You can't remove the current user." ) . '</p></div>';
     585                                        $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You can not remove the current user." ) . '</p></div>';
    586586                                        $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'Other users have been removed.' ) . '</p></div>';
    587587                                        break;
    588588                        }
  • src/wp-includes/Text/Diff.php

    diff --git a/src/wp-includes/Text/Diff.php b/src/wp-includes/Text/Diff.php
    index 61a9320a0e..6f76278c5a 100644
    a b class Text_Diff { 
    260260    function _check($from_lines, $to_lines)
    261261    {
    262262        if (serialize($from_lines) != serialize($this->getOriginal())) {
    263             trigger_error("Reconstructed original doesn't match", E_USER_ERROR);
     263            trigger_error("Reconstructed original does not match", E_USER_ERROR);
    264264        }
    265265        if (serialize($to_lines) != serialize($this->getFinal())) {
    266             trigger_error("Reconstructed final doesn't match", E_USER_ERROR);
     266            trigger_error("Reconstructed final does not match", E_USER_ERROR);
    267267        }
    268268
    269269        $rev = $this->reverse();
    270270        if (serialize($to_lines) != serialize($rev->getOriginal())) {
    271             trigger_error("Reversed original doesn't match", E_USER_ERROR);
     271            trigger_error("Reversed original does not match", E_USER_ERROR);
    272272        }
    273273        if (serialize($from_lines) != serialize($rev->getFinal())) {
    274             trigger_error("Reversed final doesn't match", E_USER_ERROR);
     274            trigger_error("Reversed final does not match", E_USER_ERROR);
    275275        }
    276276
    277277        $prevtype = null;
  • src/wp-includes/blocks/tag-cloud.php

    diff --git a/src/wp-includes/blocks/tag-cloud.php b/src/wp-includes/blocks/tag-cloud.php
    index cdebc92271..4324134416 100644
    a b function render_block_core_tag_cloud( $attributes ) { 
    2525                $tag_cloud = esc_html(
    2626                        sprintf(
    2727                                /* translators: %s: taxonomy name */
    28                                 __( 'Your site doesn&#8217;t have any %s, so there&#8217;s nothing to display here at the moment.' ),
     28                                __( 'Your site does not have any %s, so there is nothing to display here at the moment.' ),
    2929                                strtolower( $labels->name )
    3030                        )
    3131                );
  • src/wp-includes/class-wp-customize-nav-menus.php

    diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php
    index f438e358fd..76dbf2b796 100644
    a b final class WP_Customize_Nav_Menus { 
    11191119
    11201120                <script type="text/html" id="tmpl-nav-menu-create-menu-section-title">
    11211121                        <p class="add-new-menu-notice">
    1122                                 <?php _e( 'It doesn&#8217;t look like your site has any menus yet. Want to build one? Click the button to start.' ); ?>
     1122                                <?php _e( 'It does not look like your site has any menus yet. Want to build one? Click the button to start.' ); ?>
    11231123                        </p>
    11241124                        <p class="add-new-menu-notice">
    11251125                                <?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

    diff --git a/src/wp-includes/class-wp-customize-widgets.php b/src/wp-includes/class-wp-customize-widgets.php
    index c96773b139..b649d9c526 100644
    a b final class WP_Customize_Widgets { 
    746746                 */
    747747                $some_non_rendered_areas_messages    = array();
    748748                $some_non_rendered_areas_messages[1] = html_entity_decode(
    749                         __( 'Your theme has 1 other widget area, but this particular page doesn&#8217;t display it.' ),
     749                        __( 'Your theme has 1 other widget area, but this particular page does not display it.' ),
    750750                        ENT_QUOTES,
    751751                        get_bloginfo( 'charset' )
    752752                );
    final class WP_Customize_Widgets { 
    756756                                sprintf(
    757757                                        /* translators: %s: The number of other widget areas registered but not rendered. */
    758758                                        _n(
    759                                                 'Your theme has %s other widget area, but this particular page doesn&#8217;t display it.',
    760                                                 'Your theme has %s other widget areas, but this particular page doesn&#8217;t display them.',
     759                                                'Your theme has %s other widget area, but this particular page does not display it.',
     760                                                'Your theme has %s other widget areas, but this particular page does not display them.',
    761761                                                $non_rendered_count
    762762                                        ),
    763763                                        number_format_i18n( $non_rendered_count )
    final class WP_Customize_Widgets { 
    770770                if ( 1 === $registered_sidebar_count ) {
    771771                        $no_areas_shown_message = html_entity_decode(
    772772                                sprintf(
    773                                         __( 'Your theme has 1 widget area, but this particular page doesn&#8217;t display it.' )
     773                                        __( 'Your theme has 1 widget area, but this particular page does not display it.' )
    774774                                ),
    775775                                ENT_QUOTES,
    776776                                get_bloginfo( 'charset' )
    final class WP_Customize_Widgets { 
    780780                                sprintf(
    781781                                        /* translators: %s: The total number of widget areas registered. */
    782782                                        _n(
    783                                                 'Your theme has %s widget area, but this particular page doesn&#8217;t display it.',
    784                                                 'Your theme has %s widget areas, but this particular page doesn&#8217;t display them.',
     783                                                'Your theme has %s widget area, but this particular page does not display it.',
     784                                                'Your theme has %s widget areas, but this particular page does not display them.',
    785785                                                $registered_sidebar_count
    786786                                        ),
    787787                                        number_format_i18n( $registered_sidebar_count )
  • src/wp-includes/class-wp-editor.php

    diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php
    index 61cda16585..f12004b3e9 100644
    a b final class _WP_Editors { 
    13551355                                'Words: {0}'                           => sprintf( __( 'Words: %s' ), '{0}' ),
    13561356                                'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' =>
    13571357                                        __( 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' ) . "\n\n" .
    1358                                         __( 'If you&#8217;re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ),
     1358                                        __( 'If you are looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ),
    13591359                                'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' =>
    13601360                                        __( 'Rich Text Area. Press Alt-Shift-H for help.' ),
    13611361                                'Rich Text Area. Press Control-Option-H for help.' => __( 'Rich Text Area. Press Control-Option-H for help.' ),
  • src/wp-includes/class-wp-image-editor-gd.php

    diff --git a/src/wp-includes/class-wp-image-editor-gd.php b/src/wp-includes/class-wp-image-editor-gd.php
    index f175b90d20..da6a316fbe 100644
    a b class WP_Image_Editor_GD extends WP_Image_Editor { 
    8989                }
    9090
    9191                if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) ) {
    92                         return new WP_Error( 'error_loading_image', __( 'File doesn&#8217;t exist?' ), $this->file );
     92                        return new WP_Error( 'error_loading_image', __( 'File does not exist?' ), $this->file );
    9393                }
    9494
    9595                // Set artificially high because GD uses uncompressed images in memory.
    class WP_Image_Editor_GD extends WP_Image_Editor { 
    9898                $file_contents = @file_get_contents( $this->file );
    9999
    100100                if ( ! $file_contents ) {
    101                         return new WP_Error( 'error_loading_image', __( 'File doesn&#8217;t exist?' ), $this->file );
     101                        return new WP_Error( 'error_loading_image', __( 'File does not exist?' ), $this->file );
    102102                }
    103103
    104104                // WebP may not work with imagecreatefromstring().
  • src/wp-includes/class-wp-image-editor-imagick.php

    diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php
    index b7336fe5ae..e6280fdb4c 100644
    a b class WP_Image_Editor_Imagick extends WP_Image_Editor { 
    129129                }
    130130
    131131                if ( ! is_file( $this->file ) && ! wp_is_stream( $this->file ) ) {
    132                         return new WP_Error( 'error_loading_image', __( 'File doesn&#8217;t exist?' ), $this->file );
     132                        return new WP_Error( 'error_loading_image', __( 'File does not exist?' ), $this->file );
    133133                }
    134134
    135135                /*
  • src/wp-includes/class-wp-theme.php

    diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php
    index d0607528b5..63312b2e0d 100644
    a b final class WP_Theme implements ArrayAccess { 
    280280                                )
    281281                        );
    282282                        if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    283                                 $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or doesn&#8217;t exist. Please check your installation.' ) );
     283                                $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) );
    284284                        }
    285285                        return;
    286286                } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {
  • src/wp-includes/class-wp-xmlrpc-server.php

    diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php
    index 93809422d5..5f3ba74beb 100644
    a b class wp_xmlrpc_server extends IXR_Server { 
    68946894                        }
    68956895                } else {
    68966896                        // TODO: Attempt to extract a post ID from the given URL.
    6897                         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.' ) );
     6897                        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.' ) );
    68986898                }
    68996899                $post_ID = (int) $post_ID;
    69006900
    69016901                $post = get_post( $post_ID );
    69026902
    69036903                if ( ! $post ) { // Post not found.
    6904                         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.' ) );
     6904                        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.' ) );
    69056905                }
    69066906
    69076907                if ( url_to_postid( $pagelinkedfrom ) == $post_ID ) {
    class wp_xmlrpc_server extends IXR_Server { 
    69106910
    69116911                // Check if pings are on.
    69126912                if ( ! pings_open( $post ) ) {
    6913                         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.' ) );
     6913                        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.' ) );
    69146914                }
    69156915
    69166916                // Let's check that the remote site didn't already pingback this entry.
    class wp_xmlrpc_server extends IXR_Server { 
    70757075                $post_ID = url_to_postid( $url );
    70767076                if ( ! $post_ID ) {
    70777077                        // We aren't sure that the resource is available and/or pingback enabled.
    7078                         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.' ) );
     7078                        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.' ) );
    70797079                }
    70807080
    70817081                $actual_post = get_post( $post_ID, ARRAY_A );
  • src/wp-includes/customize/class-wp-customize-nav-menu-control.php

    diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-control.php
    index 4c34077e25..a1558cdf5d 100644
    a b class WP_Customize_Nav_Menu_Control extends WP_Customize_Control { 
    4343                        <?php
    4444                        printf(
    4545                                /* translators: %s: "Add Items" button text. */
    46                                 __( 'Time to add some links! Click &#8220;%s&#8221; to start putting pages, categories, and custom links in your menu. Add as many things as you&#8217;d like.' ),
     46                                __( 'Time to add some links! Click &#8220;%s&#8221; to start putting pages, categories, and custom links in your menu. Add as many things as you would like.' ),
    4747                                $add_items
    4848                        );
    4949                        ?>
  • src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php

    diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
    index 92125618ea..9a34aa1c0e 100644
    a b class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control { 
    6161                                                        ?>
    6262                                                </p>
    6363                                        <# } else { #>
    64                                                 <p><?php echo _x( 'Here&#8217;s where this menu appears. If you&#8217;d like to change that, pick another location.', 'menu locations' ); ?></p>
     64                                                <p><?php echo _x( 'Here&#8217;s where this menu appears. If you would like to change that, pick another location.', 'menu locations' ); ?></p>
    6565                                        <# } #>
    6666                                </li>
    6767
  • src/wp-includes/customize/class-wp-customize-theme-control.php

    diff --git a/src/wp-includes/customize/class-wp-customize-theme-control.php b/src/wp-includes/customize/class-wp-customize-theme-control.php
    index a0a705d545..1b942c7f6c 100644
    a b class WP_Customize_Theme_Control extends WP_Customize_Control { 
    113113                                                                <?php
    114114                                                                printf(
    115115                                                                        /* translators: %s: Theme name. */
    116                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your versions of WordPress and PHP.' ),
     116                                                                        __( 'There is a new version of %s available, but it does not work with your versions of WordPress and PHP.' ),
    117117                                                                        '{{{ data.theme.name }}}'
    118118                                                                );
    119119                                                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    class WP_Customize_Theme_Control extends WP_Customize_Control { 
    143143                                                                <?php
    144144                                                                printf(
    145145                                                                        /* translators: %s: Theme name. */
    146                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of WordPress.' ),
     146                                                                        __( 'There is a new version of %s available, but it does not work with your version of WordPress.' ),
    147147                                                                        '{{{ data.theme.name }}}'
    148148                                                                );
    149149                                                                if ( current_user_can( 'update_core' ) ) {
    class WP_Customize_Theme_Control extends WP_Customize_Control { 
    158158                                                                <?php
    159159                                                                printf(
    160160                                                                        /* translators: %s: Theme name. */
    161                                                                         __( 'There is a new version of %s available, but it doesn&#8217;t work with your version of PHP.' ),
     161                                                                        __( 'There is a new version of %s available, but it does not work with your version of PHP.' ),
    162162                                                                        '{{{ data.theme.name }}}'
    163163                                                                );
    164164                                                                if ( current_user_can( 'update_php' ) ) {
    class WP_Customize_Theme_Control extends WP_Customize_Control { 
    180180                                <div class="notice notice-error notice-alt"><p>
    181181                                        <# if ( ! data.theme.compatibleWP && ! data.theme.compatiblePHP ) { #>
    182182                                                <?php
    183                                                 _e( 'This theme doesn&#8217;t work with your versions of WordPress and PHP.' );
     183                                                _e( 'This theme does not work with your versions of WordPress and PHP.' );
    184184                                                if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
    185185                                                        printf(
    186186                                                                /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
    class WP_Customize_Theme_Control extends WP_Customize_Control { 
    206206                                                ?>
    207207                                        <# } else if ( ! data.theme.compatibleWP ) { #>
    208208                                                <?php
    209                                                 _e( 'This theme doesn&#8217;t work with your version of WordPress.' );
     209                                                _e( 'This theme does not work with your version of WordPress.' );
    210210                                                if ( current_user_can( 'update_core' ) ) {
    211211                                                        printf(
    212212                                                                /* translators: %s: URL to WordPress Updates screen. */
    class WP_Customize_Theme_Control extends WP_Customize_Control { 
    217217                                                ?>
    218218                                        <# } else if ( ! data.theme.compatiblePHP ) { #>
    219219                                                <?php
    220                                                 _e( 'This theme doesn&#8217;t work with your version of PHP.' );
     220                                                _e( 'This theme does not work with your version of PHP.' );
    221221                                                if ( current_user_can( 'update_php' ) ) {
    222222                                                        printf(
    223223                                                                /* translators: %s: URL to Update PHP page. */
  • src/wp-includes/deprecated.php

    diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
    index dcce1c1cea..a5e63e02cb 100644
    a b function wp_load_image( $file ) { 
    31923192
    31933193        if ( ! is_file( $file ) ) {
    31943194                /* translators: %s: File name. */
    3195                 return sprintf( __( 'File &#8220;%s&#8221; doesn&#8217;t exist?' ), $file );
     3195                return sprintf( __( 'File &#8220;%s&#8221; does not exist?' ), $file );
    31963196        }
    31973197
    31983198        if ( ! function_exists('imagecreatefromstring') )
  • src/wp-includes/ms-load.php

    diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php
    index d48df035d6..ac441085f0 100644
    a b function ms_not_installed( $domain, $path ) { 
    495495                __( 'Read the <a href="%s" target="_blank">Debugging a WordPress Network</a> article. Some of the suggestions there may help you figure out what went wrong.' ),
    496496                __( 'https://wordpress.org/support/article/debugging-a-wordpress-network/' )
    497497        );
    498         $msg .= ' ' . __( 'If you&#8217;re still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
     498        $msg .= ' ' . __( 'If you are still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
    499499        foreach ( $wpdb->tables( 'global' ) as $t => $table ) {
    500500                if ( 'sitecategories' === $t ) {
    501501                        continue;
  • src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

    diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
    index e3e5d935d7..a38760fed0 100644
    a b class WP_REST_Users_Controller extends WP_REST_Controller { 
    732732                if ( ! empty( $request['username'] ) && $request['username'] !== $user->user_login ) {
    733733                        return new WP_Error(
    734734                                'rest_user_invalid_argument',
    735                                 __( "Username isn't editable." ),
     735                                __( "Username is not editable." ),
    736736                                array( 'status' => 400 )
    737737                        );
    738738                }
  • src/wp-includes/rss.php

    diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php
    index 6bddad89d3..c55417728a 100644
    a b class RSSCache { 
    761761
    762762                if ( ! $rss = get_transient( $cache_option ) ) {
    763763                        $this->debug(
    764                                 "Cache doesn't contain: $url (cache option: $cache_option)"
     764                                "Cache does not contain: $url (cache option: $cache_option)"
    765765                        );
    766766                        return 0;
    767767                }
  • src/wp-includes/script-loader.php

    diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php
    index 5523ec76d2..d64d9d2180 100644
    a b function wp_default_scripts( $scripts ) { 
    11921192                        'takenOverMessage'        => __( '%s has taken over and is currently customizing.' ),
    11931193                        /* translators: %s: URL to the Customizer to load the autosaved version. */
    11941194                        'autosaveNotice'          => __( 'There is a more recent autosave of your changes than the one you are previewing. <a href="%s">Restore the autosave</a>' ),
    1195                         'videoHeaderNotice'       => __( 'This theme doesn&#8217;t support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
     1195                        'videoHeaderNotice'       => __( 'This theme does not support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
    11961196                        // Used for overriding the file types allowed in Plupload.
    11971197                        'allowedFiles'            => __( 'Allowed Files' ),
    11981198                        'customCssError'          => array(
    function wp_default_scripts( $scripts ) { 
    12111211                                // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491.
    12121212                        ),
    12131213                        'scheduleDescription'     => __( 'Schedule your customization changes to publish ("go live") at a future date.' ),
    1214                         '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.' ),
     1214                        'themePreviewUnavailable' => __( 'Sorry, you can not 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.' ),
    12151215                        'themeInstallUnavailable' => sprintf(
    12161216                                /* translators: %s: URL to Add Themes admin screen. */
    1217                                 __( '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>.' ),
     1217                                __( '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>.' ),
    12181218                                esc_url( admin_url( 'theme-install.php' ) )
    12191219                        ),
    12201220                        'publishSettings'         => __( 'Publish Settings' ),
  • src/wp-includes/theme-compat/embed-404.php

    diff --git a/src/wp-includes/theme-compat/embed-404.php b/src/wp-includes/theme-compat/embed-404.php
    index 29b2b1a1a8..6a4f3e8660 100644
    a b  
    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 can not be found.' ); ?></p>
    1515
    1616        <div class="wp-embed-excerpt">
    1717                <p>
  • src/wp-includes/user.php

    diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
    index 018c960c03..470499c472 100644
    a b function register_new_user( $user_login, $user_email ) { 
    29872987        if ( '' === $user_email ) {
    29882988                $errors->add( 'empty_email', __( '<strong>Error</strong>: Please type your email address.' ) );
    29892989        } elseif ( ! is_email( $user_email ) ) {
    2990                 $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address isn&#8217;t correct.' ) );
     2990                $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address is not correct.' ) );
    29912991                $user_email = '';
    29922992        } elseif ( email_exists( $user_email ) ) {
    29932993                $errors->add( 'email_exists', __( '<strong>Error</strong>: This email is already registered. Please choose another one.' ) );
    function register_new_user( $user_login, $user_email ) { 
    30353035                        'registerfail',
    30363036                        sprintf(
    30373037                                /* translators: %s: Admin email address. */
    3038                                 __( '<strong>Error</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">site admin</a>!' ),
     3038                                __( '<strong>Error</strong>: Could not register you&hellip; please contact the <a href="mailto:%s">site admin</a>!' ),
    30393039                                get_option( 'admin_email' )
    30403040                        )
    30413041                );
    function send_confirmation_on_profile_email() { 
    32713271                if ( ! is_email( $_POST['email'] ) ) {
    32723272                        $errors->add(
    32733273                                'user_email',
    3274                                 __( '<strong>Error</strong>: The email address isn&#8217;t correct.' ),
     3274                                __( '<strong>Error</strong>: The email address is not correct.' ),
    32753275                                array(
    32763276                                        'form-field' => 'email',
    32773277                                )
  • src/wp-includes/widgets/class-wp-widget-media-audio.php

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

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

    diff --git a/src/wp-includes/widgets/class-wp-widget-media-video.php b/src/wp-includes/widgets/class-wp-widget-media-video.php
    index 993af35a65..7defb930eb 100644
    a b class WP_Widget_Media_Video extends WP_Widget_Media { 
    4141                                'edit_media'                 => _x( 'Edit Video', 'label for button in the video widget; should preferably not be longer than ~13 characters long' ),
    4242                                'missing_attachment'         => sprintf(
    4343                                        /* translators: %s: URL to media library. */
    44                                         __( 'We can&#8217;t find that video. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     44                                        __( 'We can not find that video. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    4545                                        esc_url( admin_url( 'upload.php' ) )
    4646                                ),
    4747                                /* translators: %d: Widget count. */
    4848                                'media_library_state_multi'  => _n_noop( 'Video Widget (%d)', 'Video Widget (%d)' ),
    4949                                'media_library_state_single' => __( 'Video Widget' ),
    5050                                /* translators: %s: A list of valid video file extensions. */
    51                                 '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>' ),
     51                                'unsupported_file_type'      => sprintf( __( 'Sorry, we can not 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>' ),
    5252                        )
    5353                );
    5454        }
  • src/wp-includes/widgets/class-wp-widget-media.php

    diff --git a/src/wp-includes/widgets/class-wp-widget-media.php b/src/wp-includes/widgets/class-wp-widget-media.php
    index cd633e2908..200f83fd99 100644
    a b abstract class WP_Widget_Media extends WP_Widget { 
    7474                        'add_to_widget'              => __( 'Add to Widget' ),
    7575                        'missing_attachment'         => sprintf(
    7676                                /* translators: %s: URL to media library. */
    77                                 __( 'We can&#8217;t find that file. Check your <a href="%s">media library</a> and make sure it wasn&#8217;t deleted.' ),
     77                                __( 'We can not find that file. Check your <a href="%s">media library</a> and make sure it was not deleted.' ),
    7878                                esc_url( admin_url( 'upload.php' ) )
    7979                        ),
    8080                        /* translators: %d: Widget count. */
    8181                        'media_library_state_multi'  => _n_noop( 'Media Widget (%d)', 'Media Widget (%d)' ),
    8282                        'media_library_state_single' => __( 'Media Widget' ),
    83                         'unsupported_file_type'      => __( 'Looks like this isn&#8217;t the correct kind of file. Please link to an appropriate file instead.' ),
     83                        'unsupported_file_type'      => __( 'Looks like this is not the correct kind of file. Please link to an appropriate file instead.' ),
    8484                );
    8585                $this->l10n    = array_merge( $l10n_defaults, array_filter( $this->l10n ) );
    8686
  • src/wp-includes/widgets/class-wp-widget-text.php

    diff --git a/src/wp-includes/widgets/class-wp-widget-text.php b/src/wp-includes/widgets/class-wp-widget-text.php
    index f3e479819d..7f28205c45 100644
    a b class WP_Widget_Text extends WP_Widget { 
    496496                                <?php if ( ! isset( $instance['visual'] ) ) : ?>
    497497                                        <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>
    498498                                <?php else : ?>
    499                                         <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>
     499                                        <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>
    500500                                <?php endif; ?>
    501501                        </div>
    502502                        <p>
  • src/wp-includes/wp-db.php

    diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php
    index 53ba207203..bbe5213b34 100644
    a b class wpdb { 
    11661166                        if ( ! did_action( 'template_redirect' ) ) {
    11671167                                wp_load_translations_early();
    11681168
    1169                                 $message = '<h1>' . __( 'Can&#8217;t select database' ) . "</h1>\n";
     1169                                $message = '<h1>' . __( 'Can not select database' ) . "</h1>\n";
    11701170
    11711171                                $message .= '<p>' . sprintf(
    11721172                                        /* translators: %s: Database name. */
    class wpdb { 
    11941194
    11951195                                $message .= '<p>' . sprintf(
    11961196                                        /* translators: %s: Support forums URL. */
    1197                                         __( '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>.' ),
     1197                                        __( '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>.' ),
    11981198                                        __( 'https://wordpress.org/support/forums/' )
    11991199                                ) . "</p>\n";
    12001200
    class wpdb { 
    17851785
    17861786                        $message .= '<p>' . sprintf(
    17871787                                /* translators: 1: wp-config.php, 2: Database host. */
    1788                                 __( '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.' ),
     1788                                __( 'This either means that the username and password information in your %1$s file is incorrect or we can not contact the database server at %2$s. This could mean your host&#8217;s database server is down.' ),
    17891789                                '<code>wp-config.php</code>',
    17901790                                '<code>' . htmlspecialchars( $this->dbhost, ENT_QUOTES ) . '</code>'
    17911791                        ) . "</p>\n";
    class wpdb { 
    17981798
    17991799                        $message .= '<p>' . sprintf(
    18001800                                /* translators: %s: Support forums URL. */
    1801                                 __( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
     1801                                __( 'If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
    18021802                                __( 'https://wordpress.org/support/forums/' )
    18031803                        ) . "</p>\n";
    18041804
    class wpdb { 
    19551955
    19561956                $message .= '<p>' . sprintf(
    19571957                        /* translators: %s: Support forums URL. */
    1958                         __( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
     1958                        __( 'If you are unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
    19591959                        __( 'https://wordpress.org/support/forums/' )
    19601960                ) . "</p>\n";
    19611961
  • src/wp-mail.php

    diff --git a/src/wp-mail.php b/src/wp-mail.php
    index c3f921ad69..d3a86352f2 100644
    a b if ( false === $count ) { 
    6262
    6363if ( 0 === $count ) {
    6464        $pop3->quit();
    65         wp_die( __( 'There doesn&#8217;t seem to be any new mail.' ) );
     65        wp_die( __( 'There does not seem to be any new mail.' ) );
    6666}
    6767
    6868for ( $i = 1; $i <= $count; $i++ ) {
  • src/wp-signup.php

    diff --git a/src/wp-signup.php b/src/wp-signup.php
    index 375dad9517..b6fdb5013c 100644
    a b function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { 
    373373                        </ul>
    374374        <?php } ?>
    375375
    376         <p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' ); ?></p>
     376        <p><?php _e( 'If you are not going to use a great site domain, leave it for a new user. Now have at it!' ); ?></p>
    377377        <form id="setupform" method="post" action="wp-signup.php">
    378378                <input type="hidden" name="stage" value="gimmeanotherblog" />
    379379                <?php
    function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $use 
    842842        <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p>
    843843        <h2><?php _e( 'Still waiting for your email?' ); ?></h2>
    844844        <p>
    845                 <?php _e( 'If you haven&#8217;t received your email yet, there are a number of things you can do:' ); ?>
     845                <?php _e( 'If you have not received your email yet, there are a number of things you can do:' ); ?>
    846846                <ul id="noemail-tips">
    847847                        <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ); ?></strong></p></li>
    848848                        <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ); ?></p></li>
  • tests/phpunit/data/feed/wordpress-org-news.xml

    diff --git a/tests/phpunit/data/feed/wordpress-org-news.xml b/tests/phpunit/data/feed/wordpress-org-news.xml
    index f18fa21882..1173c71bd7 100644
    a b  
    365365
    366366
    367367
    368 <p>A Question and Answer period with pre-recorded videos will follow State of the Word. To take part, record a video of you asking your question to Matt on your computer or phone (landscape format, please). Don&#8217;t forget to include your name and how you use WordPress! Try to keep your video to under a minute so Matt can answer as many questions as possible.</p>
     368<p>A Question and Answer period with pre-recorded videos will follow State of the Word. To take part, record a video of you asking your question to Matt on your computer or phone (landscape format, please). Do not forget to include your name and how you use WordPress! Try to keep your video to under a minute so Matt can answer as many questions as possible.</p>
    369369
    370370
    371371
     
    528528
    529529
    530530
    531 <p><em><strong>Think you found a bug?</strong> Post it to the <a href="https://wordpress.org/support/forum/alphabeta">Alpha/Beta area</a> in the support forums. We would love to hear from you! If you’re comfortable writing a reproducible bug report you can <a href="https://make.wordpress.org/core/reports/">file one on WordPress Trac</a>. Don&#8217;t forget to check <a href="https://core.trac.wordpress.org/tickets/major">the list of known bugs</a></em>!</p>
     531<p><em><strong>Think you found a bug?</strong> Post it to the <a href="https://wordpress.org/support/forum/alphabeta">Alpha/Beta area</a> in the support forums. We would love to hear from you! If you’re comfortable writing a reproducible bug report you can <a href="https://make.wordpress.org/core/reports/">file one on WordPress Trac</a>. Do not forget to check <a href="https://core.trac.wordpress.org/tickets/major">the list of known bugs</a></em>!</p>
    532532]]></content:encoded>
    533533
    534534
  • tests/phpunit/tests/ajax/ReplytoComment.php

    diff --git a/tests/phpunit/tests/ajax/ReplytoComment.php b/tests/phpunit/tests/ajax/ReplytoComment.php
    index 0d98a98a39..40426ba14a 100644
    a b class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase { 
    186186
    187187                // Make the request.
    188188                $this->expectException( 'WPAjaxDieStopException' );
    189                 $this->expectExceptionMessage( 'Error: You can&#8217;t reply to a comment on a draft post.' );
     189                $this->expectExceptionMessage( 'Error: You can not reply to a comment on a draft post.' );
    190190                $this->_handleAjax( 'replyto-comment' );
    191191        }
    192192
  • tests/phpunit/tests/formatting/wpTexturize.php

    diff --git a/tests/phpunit/tests/formatting/wpTexturize.php b/tests/phpunit/tests/formatting/wpTexturize.php
    index 8ac9bb3784..6dbfc8a641 100644
    a b class Tests_Formatting_wpTexturize extends WP_UnitTestCase { 
    7676         */
    7777        public function test_full_sentences_with_unmatched_single_quotes() {
    7878                $this->assertSame(
    79                         'That means every moment you&#8217;re working on something without it being in the public it&#8217;s actually dying.',
     79                        'That means every moment you are working on something without it being in the public it&#8217;s actually dying.',
    8080                        wptexturize( "That means every moment you're working on something without it being in the public it's actually dying." )
    8181                );
    8282        }
  • tests/phpunit/tests/oembed/template.php

    diff --git a/tests/phpunit/tests/oembed/template.php b/tests/phpunit/tests/oembed/template.php
    index b330ae70cf..25648f4e30 100644
    a b class Tests_Embed_Template extends WP_UnitTestCase { 
    3232
    3333                $doc = new DOMDocument();
    3434                $this->assertTrue( $doc->loadHTML( $actual ) );
    35                 $this->assertStringNotContainsString( 'That embed can&#8217;t be found.', $actual );
     35                $this->assertStringNotContainsString( 'That embed can not be found.', $actual );
    3636                $this->assertStringContainsString( 'Hello World', $actual );
    3737        }
    3838
    class Tests_Embed_Template extends WP_UnitTestCase { 
    6464
    6565                $doc = new DOMDocument();
    6666                $this->assertTrue( $doc->loadHTML( $actual ) );
    67                 $this->assertStringNotContainsString( 'That embed can&#8217;t be found.', $actual );
     67                $this->assertStringNotContainsString( 'That embed can not be found.', $actual );
    6868                $this->assertStringContainsString( 'Hello World', $actual );
    6969                $this->assertStringContainsString( 'canola.jpg', $actual );
    7070        }
    class Tests_Embed_Template extends WP_UnitTestCase { 
    8181
    8282                $doc = new DOMDocument();
    8383                $this->assertTrue( $doc->loadHTML( $actual ) );
    84                 $this->assertStringContainsString( 'That embed can&#8217;t be found.', $actual );
     84                $this->assertStringContainsString( 'That embed can not be found.', $actual );
    8585        }
    8686
    8787        public function test_oembed_output_attachment() {
    class Tests_Embed_Template extends WP_UnitTestCase { 
    108108
    109109                $doc = new DOMDocument();
    110110                $this->assertTrue( $doc->loadHTML( $actual ) );
    111                 $this->assertStringNotContainsString( 'That embed can&#8217;t be found.', $actual );
     111                $this->assertStringNotContainsString( 'That embed can not be found.', $actual );
    112112                $this->assertStringContainsString( 'Hello World', $actual );
    113113                $this->assertStringContainsString( 'canola.jpg', $actual );
    114114        }
    class Tests_Embed_Template extends WP_UnitTestCase { 
    133133
    134134                $doc = new DOMDocument();
    135135                $this->assertTrue( $doc->loadHTML( $actual ) );
    136                 $this->assertStringContainsString( 'That embed can&#8217;t be found.', $actual );
     136                $this->assertStringContainsString( 'That embed can not be found.', $actual );
    137137        }
    138138
    139139        public function test_oembed_output_scheduled_post() {
    class Tests_Embed_Template extends WP_UnitTestCase { 
    157157
    158158                $doc = new DOMDocument();
    159159                $this->assertTrue( $doc->loadHTML( $actual ) );
    160                 $this->assertStringContainsString( 'That embed can&#8217;t be found.', $actual );
     160                $this->assertStringContainsString( 'That embed can not be found.', $actual );
    161161        }
    162162
    163163        public function test_oembed_output_private_post() {
    class Tests_Embed_Template extends WP_UnitTestCase { 
    180180
    181181                $doc = new DOMDocument();
    182182                $this->assertTrue( $doc->loadHTML( $actual ) );
    183                 $this->assertStringContainsString( 'That embed can&#8217;t be found.', $actual );
     183                $this->assertStringContainsString( 'That embed can not be found.', $actual );
    184184        }
    185185
    186186        public function test_oembed_output_private_post_with_permissions() {
    class Tests_Embed_Template extends WP_UnitTestCase { 
    207207
    208208                $doc = new DOMDocument();
    209209                $this->assertTrue( $doc->loadHTML( $actual ) );
    210                 $this->assertStringNotContainsString( 'That embed can&#8217;t be found.', $actual );
     210                $this->assertStringNotContainsString( 'That embed can not be found.', $actual );
    211211                $this->assertStringContainsString( 'Hello World', $actual );
    212212        }
    213213
  • tests/phpunit/tests/post/output.php

    diff --git a/tests/phpunit/tests/post/output.php b/tests/phpunit/tests/post/output.php
    index 5af6e05837..9f08f12d1c 100644
    a b EOF; 
    112112  <p class='graf'>another graf with whitespace</p>
    113113
    114114<p>An <p class='graf'>inline graf</p>
    115 , this doesn&#8217;t make much sense.</p>
     115, this does not make much sense.</p>
    116116<p>A graf with a single EOL first:<br />
    117117<p class='graf'>blah</p>
    118118</p>
  • tests/qunit/index.html

    diff --git a/tests/qunit/index.html b/tests/qunit/index.html
    index dd3fb68224..52a65ccaae 100644
    a b  
    121121                        wp.mediaWidgets.modelConstructors[ "media_image" ].prototype.schema = {"attachment_id":{"type":"integer","default":0,"minimum":0,"media_prop":"id"},"url":{"type":"string","default":"","format":"uri"},"title":{"type":"string","default":"","should_preview_update":false},"size":{"type":"string","default":"medium","enum":["thumbnail","medium","medium_large","large","twentyseventeen-featured-image","twentyseventeen-thumbnail-avatar","full","custom"]},"width":{"type":"integer","default":0,"minimum":0},"height":{"type":"integer","default":0,"minimum":0},"caption":{"type":"string","default":"","should_preview_update":false},"alt":{"type":"string","default":""},"link_type":{"type":"string","default":"none","enum":["none","file","post","custom"],"media_prop":"link","should_preview_update":false},"link_url":{"type":"string","default":"","format":"uri","media_prop":"linkUrl","should_preview_update":false},"image_classes":{"type":"string","default":"","media_prop":"extraClasses","should_preview_update":false},"link_classes":{"type":"string","default":"","media_prop":"linkClassName","should_preview_update":false},"link_rel":{"type":"string","default":"","media_prop":"linkRel","should_preview_update":false},"link_target_blank":{"type":"boolean","default":false,"media_prop":"linkTargetBlank","should_preview_update":false},"image_title":{"type":"string","default":"","media_prop":"title","should_preview_update":false}};
    122122
    123123                        wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.mime_type = "image";
    124                         _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":"We can&#8217;t find that image. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it wasn&#8217;t deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} );
     124                        _.extend( wp.mediaWidgets.controlConstructors[ "media_image" ].prototype.l10n, {"no_media_selected":"No image selected","select_media":"Select Image","change_media":"Change Image","edit_media":"Edit Image","add_to_widget":"Add to Widget","missing_attachment":"We can not find that image. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Image Widget (%d)","1":"Image Widget (%d)","singular":"Image Widget (%d)","plural":"Image Widget (%d)","context":null,"domain":null},"media_library_state_single":"Image Widget"} );
    125125                </script>
    126126                <script src="../../build/wp-admin/js/widgets/media-video-widget.js"></script>
    127127                <script>
    128128                        wp.mediaWidgets.modelConstructors[ "media_video" ].prototype.schema = {"attachment_id":{"type":"integer","default":0,"minimum":0,"media_prop":"id"},"url":{"type":"string","default":"","format":"uri"},"title":{"type":"string","default":""},"preload":{"type":"string","default":"metadata","enum":["none","auto","metadata"]},"loop":{"type":"boolean","default":false},"content":{"type":"string","default":""},"mp4":{"type":"string","default":"","format":"uri"},"m4v":{"type":"string","default":"","format":"uri"},"webm":{"type":"string","default":"","format":"uri"},"ogv":{"type":"string","default":"","format":"uri"},"wmv":{"type":"string","default":"","format":"uri"},"flv":{"type":"string","default":"","format":"uri"}};
    129129
    130130                        wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.mime_type = "video";
    131                         _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":"We can&#8217;t find that video. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it wasn&#8217;t deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} );
     131                        _.extend( wp.mediaWidgets.controlConstructors[ "media_video" ].prototype.l10n, {"no_media_selected":"No video selected","select_media":"Select Video","change_media":"Change Video","edit_media":"Edit Video","add_to_widget":"Add to Widget","missing_attachment":"We can not find that video. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Video Widget (%d)","1":"Video Widget (%d)","singular":"Video Widget (%d)","plural":"Video Widget (%d)","context":null,"domain":null},"media_library_state_single":"Video Widget"} );
    132132                </script>
    133133                <script src="../../build/wp-admin/js/widgets/media-audio-widget.js"></script>
    134134                <script>
    135135                        wp.mediaWidgets.modelConstructors[ "media_audio" ].prototype.schema = {"attachment_id":{"type":"integer","default":0,"minimum":0,"media_prop":"id"},"url":{"type":"string","default":"","format":"uri"},"title":{"type":"string","default":""},"preload":{"type":"string","default":"none","enum":["none","auto","metadata"]},"loop":{"type":"boolean","default":false},"mp3":{"type":"string","default":"","format":"uri"},"ogg":{"type":"string","default":"","format":"uri"},"wma":{"type":"string","default":"","format":"uri"},"m4a":{"type":"string","default":"","format":"uri"},"wav":{"type":"string","default":"","format":"uri"}};
    136136
    137137                        wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.mime_type = "audio";
    138                         _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":"We can&#8217;t find that audio file. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it wasn&#8217;t deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} );
     138                        _.extend( wp.mediaWidgets.controlConstructors[ "media_audio" ].prototype.l10n, {"no_media_selected":"No audio selected","select_media":"Select File","change_media":"Change Audio","edit_media":"Edit Audio","add_to_widget":"Add to Widget","missing_attachment":"We can not find that audio file. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":{"0":"Audio Widget (%d)","1":"Audio Widget (%d)","singular":"Audio Widget (%d)","plural":"Audio Widget (%d)","context":null,"domain":null},"media_library_state_single":"Audio Widget"} );
    139139                </script>
    140140                <script type='text/javascript' src='../../build/wp-admin/js/widgets/media-gallery-widget.js'></script>
    141141                <script type='text/javascript'>
    142142                        wp.mediaWidgets.modelConstructors[ "media_gallery" ].prototype.schema = {"title":{"type":"string","default":"","should_preview_update":false},"ids":{"type":"string","default":""},"columns":{"type":"integer","default":3},"size":{"type":"string","default":"thumbnail","enum":["thumbnail","medium","medium_large","large","post-thumbnail","full","custom"]},"link_type":{"type":"string","default":"none","enum":["none","file","post"],"media_prop":"link","should_preview_update":false},"orderby_random":{"type":"boolean","default":false,"media_prop":"_orderbyRandom","should_preview_update":false},"attachments":{"type":"string","default":""}};
    143143                        wp.mediaWidgets.controlConstructors[ "media_gallery" ].prototype.mime_type = "image";
    144144
    145                         _.extend( wp.mediaWidgets.controlConstructors[ "media_gallery" ].prototype.l10n, {"no_media_selected":"No images selected","add_media":"Add Media","replace_media":"Replace Media","edit_media":"Edit Gallery","add_to_widget":"Add to Widget","missing_attachment":"We can&#8217;t find that gallery. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it wasn&#8217;t deleted.","media_library_state_multi":"","media_library_state_single":"","unsupported_file_type":"Looks like this isn&#8217;t the correct kind of file. Please link to an appropriate file instead.","select_media":"Select Images","change_media":"Add Image"} );
     145                        _.extend( wp.mediaWidgets.controlConstructors[ "media_gallery" ].prototype.l10n, {"no_media_selected":"No images selected","add_media":"Add Media","replace_media":"Replace Media","edit_media":"Edit Gallery","add_to_widget":"Add to Widget","missing_attachment":"We can not find that gallery. Check your <a href=\"http:\/\/src.wordpress-develop.dev\/wp-admin\/upload.php\">media library<\/a> and make sure it was not deleted.","media_library_state_multi":"","media_library_state_single":"","unsupported_file_type":"Looks like this is not the correct kind of file. Please link to an appropriate file instead.","select_media":"Select Images","change_media":"Add Image"} );
    146146                </script>
    147147
    148148                <!-- Unit tests -->
     
    635635                <script type="text/html" id="tmpl-wp-media-widget-image-preview">
    636636                        <# if ( data.error && 'missing_attachment' === data.error ) { #>
    637637                                <div class="notice notice-error notice-alt notice-missing-attachment">
    638                                         <p>We can&#8217;t find that image. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it wasn&#8217;t deleted.</p>
     638                                        <p>We can not find that image. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    639639                                </div>
    640640                        <# } else if ( data.error ) { #>
    641641                                <div class="notice notice-error notice-alt">
     
    676676                <script type="text/html" id="tmpl-wp-media-widget-video-preview">
    677677                        <# if ( data.error && 'missing_attachment' === data.error ) { #>
    678678                                <div class="notice notice-error notice-alt notice-missing-attachment">
    679                                         <p>We can&#8217;t find that video. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it wasn&#8217;t deleted.</p>
     679                                        <p>We can not find that video. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    680680                                </div>
    681681                        <# } else if ( data.error && 'unsupported_file_type' === data.error ) { #>
    682682                                <div class="notice notice-error notice-alt notice-missing-attachment">
    683                                         <p>Sorry, we can&#8217;t load the video at the supplied URL. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p>
     683                                        <p>Sorry, we can not load the video at the supplied URL. Please check that the URL is for a supported video file (<code>.mp4</code>, <code>.m4v</code>, <code>.webm</code>, <code>.ogv</code>, <code>.flv</code>) or stream (e.g. YouTube and Vimeo).</p>
    684684                                </div>
    685685                        <# } else if ( data.error ) { #>
    686686                                <div class="notice notice-error notice-alt">
     
    804804                <script type="text/html" id="tmpl-wp-media-widget-audio-preview">
    805805                        <# if ( data.error && 'missing_attachment' === data.error ) { #>
    806806                                <div class="notice notice-error notice-alt notice-missing-attachment">
    807                                         <p>We can&#8217;t find that audio file. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it wasn&#8217;t deleted.</p>
     807                                        <p>We can not find that audio file. Check your <a href="http://src.wordpress-develop.test/wp-admin/upload.php">media library</a> and make sure it was not deleted.</p>
    808808                                </div>
    809809                        <# } else if ( data.error ) { #>
    810810                                <div class="notice notice-error notice-alt">