Changeset 56241
- Timestamp:
- 07/16/2023 12:14:47 PM (16 months ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r54650 r56241 22 22 23 23 define( 'WPINC', 'wp-includes' ); 24 require_once ABSPATH . WPINC . '/version.php'; 25 require_once ABSPATH . WPINC . '/compat.php'; 24 26 require_once ABSPATH . WPINC . '/load.php'; 27 28 // Check for the required PHP version and for the MySQL extension or a database drop-in. 29 wp_check_php_mysql_versions(); 25 30 26 31 // Standardize $_SERVER variables across setups. 27 32 wp_fix_server_vars(); 28 33 34 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); 29 35 require_once ABSPATH . WPINC . '/functions.php'; 30 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );31 require_once ABSPATH . WPINC . '/version.php';32 36 33 wp_check_php_mysql_versions();34 37 wp_load_translations_early(); 35 38 -
trunk/src/wp-load.php
r56006 r56241 60 60 61 61 define( 'WPINC', 'wp-includes' ); 62 require_once ABSPATH . WPINC . '/version.php'; 63 require_once ABSPATH . WPINC . '/compat.php'; 62 64 require_once ABSPATH . WPINC . '/load.php'; 65 66 // Check for the required PHP version and for the MySQL extension or a database drop-in. 67 wp_check_php_mysql_versions(); 63 68 64 69 // Standardize $_SERVER variables across setups. 65 70 wp_fix_server_vars(); 66 71 67 require_once ABSPATH . WPINC . '/compat.php';72 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); 68 73 require_once ABSPATH . WPINC . '/functions.php'; 69 74 … … 76 81 } 77 82 78 define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );79 require_once ABSPATH . WPINC . '/version.php';80 81 wp_check_php_mysql_versions();82 83 wp_load_translations_early(); 83 84 -
trunk/src/wp-settings.php
r56199 r56241 32 32 global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package; 33 33 require ABSPATH . WPINC . '/version.php'; 34 require ABSPATH . WPINC . '/compat.php'; 34 35 require ABSPATH . WPINC . '/load.php'; 35 36 … … 38 39 39 40 // Include files required for initialization. 40 require ABSPATH . WPINC . '/compat.php';41 41 require ABSPATH . WPINC . '/class-wp-paused-extensions-storage.php'; 42 42 require ABSPATH . WPINC . '/class-wp-fatal-error-handler.php';
Note: See TracChangeset
for help on using the changeset viewer.