Changeset 53763
- Timestamp:
- 07/22/2022 08:50:31 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache-compat.php
r53206 r53763 142 142 } 143 143 endif; 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 -
trunk/src/wp-includes/cache.php
r53206 r53763 21 21 function wp_cache_init() { 22 22 $GLOBALS['wp_object_cache'] = new WP_Object_Cache(); 23 24 25 26 27 28 29 30 31 32 33 34 35 23 36 } 24 37 … … 283 296 284 297 /** 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 285 317 * Closes the cache. 286 318 * -
trunk/src/wp-includes/class-wp-object-cache.php
r52708 r53763 292 292 293 293 /** 294 295 296 297 298 299 300 301 302 303 304 305 306 307 294 308 * Retrieves the cache contents, if it exists. 295 309 * -
trunk/tests/phpunit/includes/object-cache.php
r52976 r53763 744 744 global $wp_object_cache; 745 745 $wp_object_cache = new WP_Object_Cache(); 746 747 748 749 750 751 752 753 754 755 756 746 757 } 747 758 -
trunk/tests/phpunit/tests/cache.php
r52706 r53763 416 416 $this->assertSame( $expected, $found ); 417 417 } 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 418 450 } -
trunk/tests/phpunit/tests/pluggable.php
r53478 r53763 269 269 // wp-includes/cache.php: 270 270 'wp_cache_init' => array(), 271 271 272 'wp_cache_add' => array( 272 273 'key', … … 328 329 'wp_cache_flush' => array(), 329 330 'wp_cache_flush_runtime' => array(), 331 330 332 'wp_cache_close' => array(), 331 333 'wp_cache_add_global_groups' => array( 'groups' ),
Note: See TracChangeset
for help on using the changeset viewer.