@@ -8,9 +8,9 @@ |
||
8 | 8 | */ |
9 | 9 | // see: http://php.net/tokenizer |
10 | 10 | if ( ! defined( 'T_ML_COMMENT' ) ) |
11 | - define( 'T_ML_COMMENT', T_COMMENT ); |
|
11 | + define( 'T_ML_COMMENT', T_COMMENT ); |
|
12 | 12 | else |
13 | - define( 'T_DOC_COMMENT', T_ML_COMMENT ); |
|
13 | + define( 'T_DOC_COMMENT', T_ML_COMMENT ); |
|
14 | 14 | |
15 | 15 | $pomo = dirname( dirname( dirname( __FILE__ ) ) ) . '/src/wp-includes/pomo'; |
16 | 16 | require_once "$pomo/po.php"; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Console application, which adds textdomain argument |
|
4 | - * to all i18n function calls |
|
5 | - * |
|
6 | - * @package wordpress-i18n |
|
7 | - */ |
|
3 | + * Console application, which adds textdomain argument |
|
4 | + * to all i18n function calls |
|
5 | + * |
|
6 | + * @package wordpress-i18n |
|
7 | + */ |
|
8 | 8 | error_reporting(E_ALL); |
9 | 9 | |
10 | 10 | require_once dirname( __FILE__ ) . '/makepot.php'; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * WordPress User Page |
|
4 | - * |
|
5 | - * Handles authentication, registering, resetting passwords, forgot password, |
|
6 | - * and other user handling. |
|
7 | - * |
|
8 | - * @package WordPress |
|
9 | - */ |
|
3 | + * WordPress User Page |
|
4 | + * |
|
5 | + * Handles authentication, registering, resetting passwords, forgot password, |
|
6 | + * and other user handling. |
|
7 | + * |
|
8 | + * @package WordPress |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | /** Make sure that the WordPress bootstrap has run before continuing. */ |
12 | 12 | require( dirname(__FILE__) . '/wp-load.php' ); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Loads the WordPress environment and template. |
|
4 | - * |
|
5 | - * @package WordPress |
|
6 | - */ |
|
3 | + * Loads the WordPress environment and template. |
|
4 | + * |
|
5 | + * @package WordPress |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | if ( !isset($wp_did_header) ) { |
9 | 9 |
@@ -43,15 +43,15 @@ |
||
43 | 43 | <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
44 | 44 | <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
45 | 45 | <?php |
46 | - /** |
|
47 | - * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
|
48 | - * |
|
49 | - * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
|
46 | + /** |
|
47 | + * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
|
50 | 48 | * |
51 | - * @since 3.5.0 |
|
52 | - */ |
|
53 | - do_action( 'xmlrpc_rsd_apis' ); |
|
54 | - ?> |
|
49 | + * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
|
50 | + * |
|
51 | + * @since 3.5.0 |
|
52 | + */ |
|
53 | + do_action( 'xmlrpc_rsd_apis' ); |
|
54 | + ?> |
|
55 | 55 | </apis> |
56 | 56 | </service> |
57 | 57 | </rsd> |
@@ -723,10 +723,10 @@ |
||
723 | 723 | </div> |
724 | 724 | <?php |
725 | 725 | /** |
726 | - * Fires after the sign-up forms, before wp_footer. |
|
727 | - * |
|
728 | - * @since 3.0.0 |
|
729 | - */ |
|
726 | + * Fires after the sign-up forms, before wp_footer. |
|
727 | + * |
|
728 | + * @since 3.0.0 |
|
729 | + */ |
|
730 | 730 | do_action( 'after_signup_form' ); ?> |
731 | 731 | |
732 | 732 | <?php get_footer(); ?> |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Handles Comment Post to WordPress and prevents duplicate comment posting. |
|
4 | - * |
|
5 | - * @package WordPress |
|
6 | - */ |
|
3 | + * Handles Comment Post to WordPress and prevents duplicate comment posting. |
|
4 | + * |
|
5 | + * @package WordPress |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) { |
9 | 9 | header('Allow: POST'); |
@@ -1,10 +1,10 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Confirms that the activation key that is sent in an email after a user signs |
|
4 | - * up for a new blog matches the key for that user and then displays confirmation. |
|
5 | - * |
|
6 | - * @package WordPress |
|
7 | - */ |
|
3 | + * Confirms that the activation key that is sent in an email after a user signs |
|
4 | + * up for a new blog matches the key for that user and then displays confirmation. |
|
5 | + * |
|
6 | + * @package WordPress |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | define( 'WP_INSTALLING', true ); |
10 | 10 | |
@@ -37,12 +37,12 @@ discard block |
||
37 | 37 | * @since MU |
38 | 38 | */ |
39 | 39 | function do_activate_header() { |
40 | - /** |
|
41 | - * Fires before the Site Activation page is loaded, but on the wp_head action. |
|
42 | - * |
|
43 | - * @since 3.0.0 |
|
44 | - */ |
|
45 | - do_action( 'activate_wp_head' ); |
|
40 | + /** |
|
41 | + * Fires before the Site Activation page is loaded, but on the wp_head action. |
|
42 | + * |
|
43 | + * @since 3.0.0 |
|
44 | + */ |
|
45 | + do_action( 'activate_wp_head' ); |
|
46 | 46 | } |
47 | 47 | add_action( 'wp_head', 'do_activate_header' ); |
48 | 48 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | $result = wpmu_activate_signup( $key ); |
88 | 88 | if ( is_wp_error($result) ) { |
89 | 89 | if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) { |
90 | - $signup = $result->get_error_data(); |
|
90 | + $signup = $result->get_error_data(); |
|
91 | 91 | ?> |
92 | 92 | <h2><?php _e('Your account is now active!'); ?></h2> |
93 | 93 | <?php |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | ?> |
103 | 103 | <h2><?php _e('An error occurred during the activation'); ?></h2> |
104 | 104 | <?php |
105 | - echo '<p>'.$result->get_error_message().'</p>'; |
|
105 | + echo '<p>'.$result->get_error_message().'</p>'; |
|
106 | 106 | } |
107 | 107 | } else { |
108 | 108 | $url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : ''; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Handle Trackbacks and Pingbacks Sent to WordPress |
|
4 | - * |
|
5 | - * @since 0.71 |
|
6 | - * |
|
7 | - * @package WordPress |
|
8 | - * @subpackage Trackbacks |
|
9 | - */ |
|
3 | + * Handle Trackbacks and Pingbacks Sent to WordPress |
|
4 | + * |
|
5 | + * @since 0.71 |
|
6 | + * |
|
7 | + * @package WordPress |
|
8 | + * @subpackage Trackbacks |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | if (empty($wp)) { |
12 | 12 | require_once( dirname( __FILE__ ) . '/wp-load.php' ); |