Changeset 36665 for trunk/src/wp-admin/install.php
- Timestamp:
- 02/24/2016 01:21:05 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r36553 r36665 212 212 if ( is_blog_installed() ) { 213 213 display_header(); 214 die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="' . esc_url( wp_login_url() ) . '" class="button button-large">' . __( 'Log In' ) . '</a></p></body></html>' ); 214 die( 215 '<h1>' . __( 'Already Installed' ) . '</h1>' . 216 '<p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p>' . 217 '<p class="step"><a href="' . esc_url( wp_login_url() ) . '" class="button button-large">' . __( 'Log In' ) . '</a></p>' . 218 '</body></html>' 219 ); 215 220 } 216 221 … … 242 247 if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) { 243 248 display_header(); 244 die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . __( 'Your <code>wp-config.php</code> file has an empty database table prefix, which is not supported.' ) . '</p></body></html>' ); 249 die( 250 '<h1>' . __( 'Configuration Error' ) . '</h1>' . 251 '<p>' . sprintf( 252 /* translators: %s: wp-config.php */ 253 __( 'Your %s file has an empty database table prefix, which is not supported.' ), 254 '<code>wp-config.php</code>' 255 ) . '</p></body></html>' 256 ); 245 257 } 246 258 … … 248 260 if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { 249 261 display_header(); 250 die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when installing WordPress.' ) . '</p></body></html>' ); 262 die( 263 '<h1>' . __( 'Configuration Error' ) . '</h1>' . 264 '<p>' . sprintf( 265 /* translators: %s: DO_NOT_UPGRADE_GLOBAL_TABLES */ 266 __( 'The constant %s cannot be defined when installing WordPress.' ), 267 '<code>DO_NOT_UPGRADE_GLOBAL_TABLES</code>' 268 ) . '</p></body></html>' 269 ); 251 270 } 252 271
Note: See TracChangeset
for help on using the changeset viewer.