Ticket #38913: 38913.patch
File 38913.patch, 27.9 KB (added by , 6 years ago) |
---|
-
src/wp-admin/includes/class-ftp-sockets.php
139 139 else $this->_ftp_temp_sock=$this->_ftp_data_sock; 140 140 } else { 141 141 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))); 143 143 $this->_data_close(); 144 144 return FALSE; 145 145 } 146 146 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))); 148 148 $this->_data_close(); 149 149 return FALSE; 150 150 } 151 151 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))); 153 153 $this->_data_close(); 154 154 return FALSE; 155 155 } 156 156 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))); 158 158 $this->_data_close(); 159 159 return FALSE; 160 160 } -
src/wp-admin/edit-tags.php
157 157 $term = get_term( $term_id ); 158 158 159 159 if ( ! $term instanceof WP_Term ) { 160 wp_die( __( 'You attempted to edit an item that does n’t exist. Perhaps it was deleted?' ) );160 wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) ); 161 161 } 162 162 163 163 wp_redirect( esc_url_raw( get_edit_term_link( $term_id, $taxonomy, $post_type ) ) ); … … 177 177 178 178 $tag = get_term( $tag_ID, $taxonomy ); 179 179 if ( ! $tag ) { 180 wp_die( __( 'You attempted to edit an item that does n’t exist. Perhaps it was deleted?' ) );180 wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) ); 181 181 } 182 182 183 183 $ret = wp_update_term( $tag_ID, $taxonomy, $_POST ); -
src/wp-admin/install.php
375 375 $error = true; 376 376 } elseif ( ! is_email( $admin_email ) ) { 377 377 // TODO: poka-yoke 378 display_setup_form( __( 'Sorry, that is n’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>.' ) ); 379 379 $error = true; 380 380 } 381 381 -
src/wp-admin/media.php
63 63 $att = get_post( $att_id ); 64 64 65 65 if ( empty( $att->ID ) ) { 66 wp_die( __( 'You attempted to edit an attachment that does n’t exist. Perhaps it was deleted?' ) );66 wp_die( __( 'You attempted to edit an attachment that does not exist. Perhaps it was deleted?' ) ); 67 67 } 68 68 if ( 'attachment' !== $att->post_type ) { 69 wp_die( __( 'You attempted to edit an item that is n’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.' ) ); 70 70 } 71 71 if ( $att->post_status == 'trash' ) { 72 wp_die( __( 'You can ’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.' ) ); 73 73 } 74 74 75 75 add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 ); -
src/wp-admin/options-permalink.php
326 326 <?php 327 327 printf( 328 328 /* 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 is n’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.' ), 330 330 '<code>web.config</code>', 331 331 __( 'https://codex.wordpress.org/Changing_File_Permissions' ), 332 332 '<kbd>CTRL + a</kbd>', … … 352 352 <?php 353 353 printf( 354 354 /* 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 is n’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.' ), 356 356 __( 'https://codex.wordpress.org/Changing_File_Permissions' ), 357 357 '<code>web.config</code>', 358 358 '<kbd>CTRL + a</kbd>' … … 384 384 <?php 385 385 printf( 386 386 /* 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 is n’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.' ), 388 388 '<code>.htaccess</code>', 389 389 __( 'https://codex.wordpress.org/Changing_File_Permissions' ), 390 390 '<kbd>CTRL + a</kbd>' -
src/wp-admin/plugins.php
453 453 '<p>' . __( 'Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’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>' . 454 454 '<p>' . sprintf( 455 455 /* translators: WP_PLUGIN_DIR constant value */ 456 __( 'If something goes wrong with a plugin and you can ’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.' ), 457 457 '<code>' . WP_PLUGIN_DIR . '</code>' 458 458 ) . '</p>', 459 459 ) -
src/wp-admin/post.php
115 115 } 116 116 117 117 if ( ! $post ) { 118 wp_die( __( 'You attempted to edit an item that does n’t exist. Perhaps it was deleted?' ) );118 wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) ); 119 119 } 120 120 121 121 if ( ! $post_type_object ) { … … 131 131 } 132 132 133 133 if ( 'trash' == $post->post_status ) { 134 wp_die( __( 'You can ’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.' ) ); 135 135 } 136 136 137 137 if ( ! empty( $_GET['get-post-lock'] ) ) { -
src/wp-admin/setup-config.php
176 176 <?php 177 177 /* translators: 1: wp-config-sample.php, 2: wp-config.php */ 178 178 printf( 179 __( 'If for any reason this automatic file creation does n’t work, don’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’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.' ), 180 180 '<code>wp-config-sample.php</code>', 181 181 '<code>wp-config.php</code>' 182 182 ); … … 229 229 <td> 230 230 <?php 231 231 /* translators: %s: localhost */ 232 printf( __( 'You should be able to get this info from your web host, if %s does n’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>' ); 233 233 ?> 234 234 </td> 235 235 </tr> … … 393 393 <p> 394 394 <?php 395 395 /* translators: %s: wp-config.php */ 396 printf( __( 'Sorry, but I can ’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>' ); 397 397 ?> 398 398 </p> 399 399 <p> -
src/wp-admin/term.php
23 23 $tag = get_term( $tag_ID, $taxnow, OBJECT, 'edit' ); 24 24 25 25 if ( ! $tag instanceof WP_Term ) { 26 wp_die( __( 'You attempted to edit an item that does n’t exist. Perhaps it was deleted?' ) );26 wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) ); 27 27 } 28 28 29 29 $tax = get_taxonomy( $tag->taxonomy ); -
src/wp-admin/update-core.php
298 298 $compatible_php = ( empty( $plugin_data->update->requires_php ) || version_compare( phpversion(), $plugin_data->update->requires_php, '>=' ) ); 299 299 300 300 if ( ! $compatible_php && current_user_can( 'update_php' ) ) { 301 $compat .= '<br>' . __( 'This update does n’t work with your version of PHP.' ) . ' ';301 $compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . ' '; 302 302 /* translators: %s: Update PHP page URL */ 303 303 $compat .= sprintf( 304 304 __( '<a href="%s">Learn more about updating PHP.</a>' ), -
src/wp-admin/users.php
349 349 check_admin_referer( 'remove-users' ); 350 350 351 351 if ( ! is_multisite() ) { 352 wp_die( __( 'You can ’t remove users.' ), 400 );352 wp_die( __( 'You cannot remove users.' ), 400 ); 353 353 } 354 354 355 355 if ( empty( $_REQUEST['users'] ) ) { … … 381 381 check_admin_referer( 'bulk-users' ); 382 382 383 383 if ( ! is_multisite() ) { 384 wp_die( __( 'You can ’t remove users.' ), 400 );384 wp_die( __( 'You cannot remove users.' ), 400 ); 385 385 } 386 386 387 387 if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) { … … 507 507 $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other user roles have been changed.' ) . '</p></div>'; 508 508 break; 509 509 case 'err_admin_del': 510 $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can ’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>'; 511 511 $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other users have been deleted.' ) . '</p></div>'; 512 512 break; 513 513 case 'remove': … … 514 514 $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'User removed from this site.' ) . '</p></div>'; 515 515 break; 516 516 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>'; 518 518 $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'Other users have been removed.' ) . '</p></div>'; 519 519 break; 520 520 } -
src/wp-admin/widgets.php
85 85 ); 86 86 87 87 if ( ! current_theme_supports( 'widgets' ) ) { 88 wp_die( __( 'The theme you are currently using is n’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>.' ) ); 89 89 } 90 90 91 91 // These are the widgets grouped by sidebar -
src/wp-admin/includes/class-ftp.php
480 480 return FALSE; 481 481 } 482 482 if($this->_curtype!=FTP_BINARY) { 483 $this->PushError("restore", "can 't restore in ASCII mode");483 $this->PushError("restore", "cannot restore in ASCII mode"); 484 484 return FALSE; 485 485 } 486 486 if(!$this->_exec("REST ".$from, "resore")) return FALSE; … … 553 553 if (@file_exists($localfile)) $this->SendMSG("Warning : local file will be overwritten"); 554 554 $fp = @fopen($localfile, "w"); 555 555 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."\""); 557 557 return FALSE; 558 558 } 559 559 if($this->_can_restore and $rest!=0) fseek($fp, $rest); … … 610 610 function put($localfile, $remotefile=NULL, $rest=0) { 611 611 if(is_null($remotefile)) $remotefile=$localfile; 612 612 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."\""); 614 614 return FALSE; 615 615 } 616 616 $fp = @fopen($localfile, "r"); 617 617 618 618 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."\""); 620 620 return FALSE; 621 621 } 622 622 if($this->_can_restore and $rest!=0) fseek($fp, $rest); … … 649 649 function mput($local=".", $remote=NULL, $continious=false) { 650 650 $local=realpath($local); 651 651 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."\""); 653 653 return FALSE; 654 654 } 655 655 if(!is_dir($local)) return $this->put($local, $remote); … … 662 662 } 663 663 closedir($handle); 664 664 } 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."\""); 666 666 return FALSE; 667 667 } 668 668 if(empty($list)) return TRUE; … … 682 682 function mget($remote, $local=".", $continious=false) { 683 683 $list=$this->rawlist($remote, "-lA"); 684 684 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"); 686 686 return FALSE; 687 687 } 688 688 if(empty($list)) return true; 689 689 if(!@file_exists($local)) { 690 690 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."\""); 692 692 return FALSE; 693 693 } 694 694 } … … 700 700 foreach($list as $el) { 701 701 if($el["type"]=="d") { 702 702 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"]."\""); 704 704 $ret=false; 705 705 if(!$continious) break; 706 706 } 707 707 } else { 708 708 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"]."\""); 710 710 $ret=false; 711 711 if(!$continious) break; 712 712 } … … 721 721 function mdel($remote, $continious=false) { 722 722 $list=$this->rawlist($remote, "-la"); 723 723 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"); 725 725 return false; 726 726 } 727 727 … … 742 742 } 743 743 } else { 744 744 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"]."\""); 746 746 $ret=false; 747 747 if(!$continious) break; 748 748 } … … 750 750 } 751 751 752 752 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"]."\""); 754 754 $ret=false; 755 755 } 756 756 return $ret; … … 826 826 function dirlist($remote) { 827 827 $list=$this->rawlist($remote, "-la"); 828 828 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"); 830 830 return false; 831 831 } 832 832 -
src/wp-admin/includes/class-theme-upgrader.php
495 495 $this->strings['incompatible_archive'], 496 496 sprintf( 497 497 /* translators: %s: style.css */ 498 __( 'The %s stylesheet does n’t contain a valid theme header.' ),498 __( 'The %s stylesheet does not contain a valid theme header.' ), 499 499 '<code>style.css</code>' 500 500 ) 501 501 ); -
src/wp-admin/includes/class-wp-importer.php
132 132 } else { 133 133 $blog = 'http://' . preg_replace( '#^https?://#', '', $blog_id ); 134 134 if ( ( ! $parsed = parse_url( $blog ) ) || empty( $parsed['host'] ) ) { 135 fwrite( STDERR, "Error: can 135 fwrite( STDERR, "Error: cannot determine blog_id from $blog_id\n" ); 136 136 exit(); 137 137 } 138 138 if ( empty( $parsed['path'] ) ) { … … 174 174 } 175 175 176 176 if ( ! $user_id || ! wp_set_current_user( $user_id ) ) { 177 fwrite( STDERR, "Error: can 177 fwrite( STDERR, "Error: cannot find user\n" ); 178 178 exit(); 179 179 } 180 180 -
src/wp-admin/includes/class-wp-plugin-install-list-table.php
641 641 if ( ! $compatible_php || ! $compatible_wp ) { 642 642 echo '<div class="notice inline notice-error notice-alt"><p>'; 643 643 if ( ! $compatible_php && ! $compatible_wp ) { 644 _e( 'This plugin does n’t work with your versions of WordPress and PHP.' );644 _e( 'This plugin does not work with your versions of WordPress and PHP.' ); 645 645 if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { 646 646 printf( 647 647 /* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */ … … 665 665 wp_update_php_annotation( '</p><p><em>', '</em>' ); 666 666 } 667 667 } elseif ( ! $compatible_wp ) { 668 _e( 'This plugin does n’t work with your version of WordPress.' );668 _e( 'This plugin does not work with your version of WordPress.' ); 669 669 if ( current_user_can( 'update_core' ) ) { 670 670 printf( 671 671 /* translators: %s: "Update WordPress" screen URL */ … … 674 674 ); 675 675 } 676 676 } elseif ( ! $compatible_php ) { 677 _e( 'This plugin does n’t work with your version of PHP.' );677 _e( 'This plugin does not work with your version of PHP.' ); 678 678 if ( current_user_can( 'update_php' ) ) { 679 679 printf( 680 680 /* translators: %s: "Update PHP" page URL */ -
src/wp-admin/includes/class-wp-site-health-auto-updates.php
288 288 } 289 289 290 290 return array( 291 'description' => __( "Your installation of WordPress does n't require FTP credentials to perform updates." ),291 'description' => __( "Your installation of WordPress does not require FTP credentials to perform updates." ), 292 292 'severity' => 'pass', 293 293 ); 294 294 } -
src/wp-admin/includes/file.php
679 679 wp_die( __( 'Sorry, that file cannot be edited.' ) ); 680 680 681 681 // case 2 : 682 // wp_die( __('Sorry, can ’t call files with their real path.' ));682 // wp_die( __('Sorry, cannot call files with their real path.' )); 683 683 684 684 case 3: 685 685 wp_die( __( 'Sorry, that file cannot be edited.' ) ); -
src/wp-admin/includes/template.php
1100 1100 echo '<p>'; 1101 1101 if ( $plugin ) { 1102 1102 /* translators: %s: the name of the plugin that generated this meta box. */ 1103 printf( __( "This meta box, from the %s plugin, is n'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>" ); 1104 1104 } else { 1105 _e( "This meta box is n't compatible with the block editor." );1105 _e( "This meta box is not compatible with the block editor." ); 1106 1106 } 1107 1107 echo '</p>'; 1108 1108 … … 1293 1293 <p> 1294 1294 <?php 1295 1295 /* translators: %s: the name of the plugin that generated this meta box. */ 1296 printf( __( "This meta box, from the %s plugin, is n'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>" ); 1297 1297 ?> 1298 1298 </p> 1299 1299 </div> -
src/wp-admin/includes/update.php
454 454 } else { 455 455 /* translators: 1: plugin name, 2: details URL, 3: additional link attributes, 4: version number 5: Update PHP page URL */ 456 456 printf( 457 __( 'There is a new version of %1$s available, but it does n’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>.' ), 458 458 $plugin_name, 459 459 esc_url( $details_url ), 460 460 sprintf( -
src/wp-admin/includes/user.php
200 200 if ( empty( $user->user_email ) ) { 201 201 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please enter an email address.' ), array( 'form-field' => 'email' ) ); 202 202 } elseif ( ! is_email( $user->user_email ) ) { 203 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address is n’t correct.' ), array( 'form-field' => 'email' ) );203 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address is not correct.' ), array( 'form-field' => 'email' ) ); 204 204 } elseif ( ( $owner_id = email_exists( $user->user_email ) ) && ( ! $update || ( $owner_id != $user->ID ) ) ) { 205 205 $errors->add( 'email_exists', __( '<strong>ERROR</strong>: This email is already registered, please choose another one.' ), array( 'form-field' => 'email' ) ); 206 206 } -
src/wp-admin/network/upgrade.php
119 119 do_action( 'wpmu_upgrade_site', $site_id ); 120 120 } 121 121 echo '</ul>'; 122 ?><p><?php _e( 'If your browser does n’t start loading the next page automatically, click this link:' ); ?> <a class="button" href="upgrade.php?action=upgrade&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&n=<?php echo ( $n + 5 ); ?>"><?php _e( 'Next Sites' ); ?></a></p> 123 123 <script type="text/javascript"> 124 124 <!-- 125 125 function nextpage() {