Changeset 45611 for trunk/src/wp-settings.php
- Timestamp:
- 07/09/2019 05:44:42 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r45582 r45611 55 55 wp_check_php_mysql_versions(); 56 56 57 // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.58 @ini_set( 'magic_quotes_runtime', 0 );59 @ini_set( 'magic_quotes_sybase', 0 );60 61 57 // WordPress calculates offsets from UTC. 62 58 date_default_timezone_set( 'UTC' ); … … 91 87 * Default true. 92 88 */ 93 if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) ) {89 if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) && file_exists( WP_CONTENT_DIR . '/advanced-cache.php' ) ) { 94 90 // For an advanced caching plugin to use. Uses a static drop-in because you would only want one. 95 WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );91 include( WP_CONTENT_DIR . '/advanced-cache.php' ); 96 92 97 93 // Re-initialize any hooks added manually by advanced-cache.php
Note: See TracChangeset
for help on using the changeset viewer.