Changeset 15680 for trunk/wp-includes/load.php
- Timestamp:
- 10/02/2010 03:08:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/load.php
r15638 r15680 420 420 wp_die( __( 'The site you have requested is not installed properly. Please contact the system administrator.' ) ); 421 421 } elseif ( ! is_blog_installed() && false === strpos( $_SERVER['PHP_SELF'], 'install.php' ) && !defined( 'WP_INSTALLING' ) ) { 422 if ( defined( 'WP_SITEURL' ) ) 423 $link = WP_SITEURL . '/wp-admin/install.php'; 424 elseif ( false !== strpos( $_SERVER['PHP_SELF'], 'wp-admin' ) ) 425 $link = preg_replace( '|/wp-admin/?.*?$|', '/', $_SERVER['PHP_SELF'] ) . 'wp-admin/install.php'; 426 else 427 $link = preg_replace( '|/[^/]+?$|', '/', $_SERVER['PHP_SELF'] ) . 'wp-admin/install.php'; 422 423 $link = wp_guess_url() . '/wp-admin/install.php'; 424 428 425 require( ABSPATH . WPINC . '/kses.php' ); 429 426 require( ABSPATH . WPINC . '/pluggable.php' );
Note: See TracChangeset
for help on using the changeset viewer.