Changeset 13063
- Timestamp:
- 02/12/2010 07:56:28 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r12930 r13063 22 22 23 23 // Set initial default constants including WP_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE. 24 wp_ default_constants( 'init');24 wp_initial_constants( ); 25 25 26 26 // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php. … … 134 134 // Define constants that rely on the API to obtain the default value. 135 135 // Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in. 136 wp_ default_constants( 'wp_included');136 wp_plugin_directory_constants( ); 137 137 138 138 // Load must-use plugins. … … 155 155 156 156 // Define constants after multisite is loaded. Cookie-related constants may be overridden in ms_network_cookies(). 157 wp_default_constants( 'ms_loaded' ); 157 wp_cookie_constants( ); 158 159 // Define and enforce our SSL constants 160 wp_ssl_constants( ); 158 161 159 162 // Create common globals. … … 181 184 do_action( 'plugins_loaded' ); 182 185 183 // Define WP_POST_REVISIONSif not already defined.184 wp_ default_constants( 'plugins_loaded');186 // Define constants which affect functionality if not already defined. 187 wp_functionality_constants( ); 185 188 186 189 // Add magic quotes and set up $_REQUEST ( $_GET + $_POST ) … … 227 230 do_action( 'setup_theme' ); 228 231 229 // Define the TEMPLATEPATH and STYLESHEETPATHconstants.230 wp_ default_constants( 'setup_theme');232 // Define the template related constants. 233 wp_templating_constants( ); 231 234 232 235 // Load the default text localization domain.
Note: See TracChangeset
for help on using the changeset viewer.