diff --git a/wp-activate.php b/wp-activate.php
index d470772..8563f0d 100644
a
|
b
|
|
2 | 2 | define( 'WP_INSTALLING', true ); |
3 | 3 | |
4 | 4 | /** Sets up the WordPress Environment. */ |
5 | | require( dirname(__FILE__) . '/wp-load.php' ); |
| 5 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
6 | 6 | |
7 | 7 | require( './wp-blog-header.php' ); |
8 | 8 | |
… |
… |
get_header(); |
99 | 99 | var key_input = document.getElementById('key'); |
100 | 100 | key_input && key_input.focus(); |
101 | 101 | </script> |
102 | | <?php get_footer(); ?> |
103 | | No newline at end of file |
| 102 | <?php get_footer(); ?> |
diff --git a/wp-admin/upgrade.php b/wp-admin/upgrade.php
index 251513a..e12a789 100644
a
|
b
|
|
15 | 15 | define( 'WP_INSTALLING', true ); |
16 | 16 | |
17 | 17 | /** Load WordPress Bootstrap */ |
18 | | require( '../wp-load.php' ); |
| 18 | require_once( dirname(dirname(__FILE__)) . '/wp-load.php' ); |
19 | 19 | |
20 | 20 | timer_start(); |
21 | 21 | require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); |
diff --git a/wp-comments-post.php b/wp-comments-post.php
index 66ae330..e591f3f 100644
a
|
b
|
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { |
13 | 13 | } |
14 | 14 | |
15 | 15 | /** Sets up the WordPress Environment. */ |
16 | | require( dirname(__FILE__) . '/wp-load.php' ); |
| 16 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
17 | 17 | |
18 | 18 | nocache_headers(); |
19 | 19 | |
diff --git a/wp-login.php b/wp-login.php
index 97e5d48..54b5eb4 100644
a
|
b
|
|
9 | 9 | */ |
10 | 10 | |
11 | 11 | /** Make sure that the WordPress bootstrap has run before continuing. */ |
12 | | require( dirname(__FILE__) . '/wp-load.php' ); |
| 12 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
13 | 13 | |
14 | 14 | // Redirect to https login if forced to use SSL |
15 | 15 | if ( force_ssl_admin() && !is_ssl() ) { |
diff --git a/wp-mail.php b/wp-mail.php
index b75e3bb..c62a71a 100644
a
|
b
|
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | /** Make sure that the WordPress bootstrap has run before continuing. */ |
11 | | require(dirname(__FILE__) . '/wp-load.php'); |
| 11 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
12 | 12 | |
13 | 13 | if ( ! apply_filters( 'enable_post_by_email_configuration', true ) ) |
14 | 14 | wp_die( __( 'This action has been disabled by the administrator.' ) ); |
diff --git a/wp-pass.php b/wp-pass.php
index 39ac448..73a546b 100644
a
|
b
|
|
7 | 7 | */ |
8 | 8 | |
9 | 9 | /** Make sure that the WordPress bootstrap has run before continuing. */ |
10 | | require( dirname( __FILE__ ) . '/wp-load.php'); |
| 10 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
11 | 11 | |
12 | 12 | if ( empty( $wp_hasher ) ) { |
13 | 13 | require_once( ABSPATH . 'wp-includes/class-phpass.php'); |
diff --git a/wp-register.php b/wp-register.php
index a9062e0..1025362 100644
a
|
b
|
|
9 | 9 | * @deprecated Use wp_register() to create a registration link instead |
10 | 10 | */ |
11 | 11 | |
12 | | require('./wp-load.php'); |
| 12 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
13 | 13 | wp_redirect( site_url('wp-login.php?action=register') ); |
14 | 14 | exit; |
diff --git a/wp-signup.php b/wp-signup.php
index 3150f9a..55cb2d4 100644
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | |
3 | 3 | /** Sets up the WordPress Environment. */ |
4 | | require( dirname(__FILE__) . '/wp-load.php' ); |
| 4 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
5 | 5 | |
6 | 6 | add_action( 'wp_head', 'wp_no_robots' ); |
7 | 7 | |
diff --git a/xmlrpc.php b/xmlrpc.php
index e4dafe7..a2d2019 100644
a
|
b
|
if ( isset($HTTP_RAW_POST_DATA) ) |
26 | 26 | $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA); |
27 | 27 | |
28 | 28 | /** Include the bootstrap for setting up WordPress environment */ |
29 | | include('./wp-load.php'); |
| 29 | require_once( dirname(__FILE__) . '/wp-load.php' ); |
30 | 30 | |
31 | 31 | if ( isset( $_GET['rsd'] ) ) { // http://archipelago.phrasewise.com/rsd |
32 | 32 | header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); |