- Timestamp:
- 07/07/2016 10:34:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/core/credits/wp-credits.php
r2936 r3635 68 68 69 69 private function __construct( $version, $gp_locale ) { 70 wp_cache_init(); 70 // Don't reinitialize the object cache if the class is used in WordPress context. 71 if ( ! function_exists( 'wp_using_ext_object_cache' ) || ! wp_using_ext_object_cache() ) { 72 wp_cache_init(); 73 } 74 71 75 $this->version = $version; 72 76 $this->branch = self::calculate_branch( $this->version ); 73 if ( $gp_locale ) 77 if ( $gp_locale ) { 74 78 $this->set_locale_data( $gp_locale ); 79 } 75 80 } 76 81
Note: See TracChangeset
for help on using the changeset viewer.