WordPress.org

Make WordPress Core

Ticket #38913: 38913.patch

File 38913.patch, 27.9 KB (added by aandrewdixon, 22 months ago)

Patch changes "can not" and "can't" to "cannot", "doesn't" to "does not" and "isn't" to "is not".

  • src/wp-admin/includes/class-ftp-sockets.php

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

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

     
    375375                        $error = true;
    376376                } elseif ( ! is_email( $admin_email ) ) {
    377377                        // TODO: poka-yoke
    378                         display_setup_form( __( 'Sorry, that isn&#8217;t a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
     378                        display_setup_form( __( 'Sorry, that is not a valid email address. Email addresses look like <code>username@example.com</code>.' ) );
    379379                        $error = true;
    380380                }
    381381
  • src/wp-admin/media.php

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

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

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

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

     
    176176                <?php
    177177                /* translators: 1: wp-config-sample.php, 2: wp-config.php */
    178178                printf(
    179                         __( 'If for any reason this automatic file creation doesn&#8217;t work, don&#8217;t worry. All this does is fill in the database information to a configuration file. You may also simply open %1$s in a text editor, fill in your information, and save it as %2$s.' ),
     179                        __( 'If for any reason this automatic file creation does not work, 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.' ),
    180180                        '<code>wp-config-sample.php</code>',
    181181                        '<code>wp-config.php</code>'
    182182                );
     
    229229                        <td>
    230230                        <?php
    231231                                /* translators: %s: localhost */
    232                                 printf( __( 'You should be able to get this info from your web host, if %s doesn&#8217;t work.' ), '<code>localhost</code>' );
     232                                printf( __( 'You should be able to get this info from your web host, if %s does not work.' ), '<code>localhost</code>' );
    233233                        ?>
    234234                        </td>
    235235                </tr>
     
    393393        <p>
    394394                        <?php
    395395                        /* translators: %s: wp-config.php */
    396                         printf( __( 'Sorry, but I can&#8217;t write the %s file.' ), '<code>wp-config.php</code>' );
     396                        printf( __( 'Sorry, but I cannot write the %s file.' ), '<code>wp-config.php</code>' );
    397397                        ?>
    398398</p>
    399399<p>
  • src/wp-admin/term.php

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

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

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

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

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

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

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

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

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

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

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

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

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

     
    119119                        do_action( 'wpmu_upgrade_site', $site_id );
    120120                }
    121121                echo '</ul>';
    122                 ?><p><?php _e( 'If your browser doesn&#8217;t start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&amp;n=<?php echo ( $n + 5 ); ?>"><?php _e( 'Next Sites' ); ?></a></p>
     122                ?><p><?php _e( 'If your browser does not start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&amp;n=<?php echo ( $n + 5 ); ?>"><?php _e( 'Next Sites' ); ?></a></p>
    123123                <script type="text/javascript">
    124124                <!--
    125125                function nextpage() {