Ticket #22306: 22306.3.patch
| File 22306.3.patch, 3.7 KB (added by SergeyBiryukov, 6 months ago) |
|---|
-
wp-includes/ms-load.php
241 241 $msg .= '<p>' . __( 'If your site does not display, please contact the owner of this network.' ) . ''; 242 242 $msg .= ' ' . __( 'If you are the owner of this network please check that MySQL is running properly and all tables are error free.' ) . '</p>'; 243 243 if ( false && !$wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ) 244 $msg .= '<p> ' . sprintf( __( '<strong>Database tables are missing.</strong>This means that MySQL is not running, WordPress was not installed properly, or someone deleted <code>%s</code>. You really should look at your database now.' ), $wpdb->site ) . '</p>';244 $msg .= '<p><strong>' . __( 'Database tables are missing.' ) . '</strong> ' . sprintf( __( 'This means that MySQL is not running, WordPress was not installed properly, or someone deleted <code>%s</code>. You really should look at your database now.' ), $wpdb->site ) . '</p>'; 245 245 else 246 246 $msg .= '<p>' . sprintf( __( '<strong>Could not find site <code>%1$s</code>.</strong> Searched for table <code>%2$s</code> in database <code>%3$s</code>. Is that right?' ), rtrim( $domain . $path, '/' ), $wpdb->blogs, DB_NAME ) . '</p>'; 247 247 $msg .= '<p><strong>' . __( 'What do I do now?' ) . '</strong> '; -
wp-includes/wp-db.php
1142 1142 1143 1143 if ( !$this->dbh ) { 1144 1144 wp_load_translations_early(); 1145 $this->bail( sprintf( __( " 1146 <h1>Error establishing a database connection</h1> 1145 $this->bail( '<h1>' . __( 'Error establishing a database connection' ) . '</h1>' . sprintf( __( " 1147 1146 <p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>%s</code>. This could mean your host's database server is down.</p> 1148 1147 <ul> 1149 1148 <li>Are you sure you have the correct username and password?</li> -
wp-signup.php
361 361 <ul id="noemail-tips"> 362 362 <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> 363 363 <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li> 364 <li><?php printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ) ?></li>364 <li><?php printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ) ?></li> 365 365 </ul> 366 366 </p> 367 367 <?php … … 427 427 $newblog = get_blogaddress_by_name( $newblogname ); 428 428 429 429 if ( $active_signup == 'blog' || $active_signup == 'all' ) 430 printf( __( '<p><em>The site you were looking for, <strong>%s</strong> does not exist, but you can create it now!</em></p>' ), $newblog );430 printf( '<p><em>' . __( 'The site you were looking for, <strong>%s</strong> does not exist, but you can create it now!' ) . '</p></em>', $newblog ); 431 431 else 432 printf( __( '<p><em>The site you were looking for, <strong>%s</strong>, does not exist.</em></p>' ), $newblog );432 printf( '<p><em>' . __( 'The site you were looking for, <strong>%s</strong>, does not exist.' ) . '</p></em>', $newblog ); 433 433 } 434 434 break; 435 435 }
