Ticket #21402: 21402.diff
File 21402.diff, 781 bytes (added by , 11 years ago) |
---|
-
wp-includes/cache.php
629 629 630 630 $this->multisite = is_multisite(); 631 631 $this->blog_prefix = $this->multisite ? $blog_id . ':' : ''; 632 633 634 /**635 * @todo This should be moved to the PHP4 style constructor, PHP5636 * already calls __destruct()637 */638 register_shutdown_function( array( $this, '__destruct' ) );639 632 } 640 641 /**642 * Will save the object cache before object is completely destroyed.643 *644 * Called upon object destruction, which should be when PHP ends.645 *646 * @since 2.0.8647 *648 * @return bool True value. Won't be used by PHP649 */650 function __destruct() {651 return true;652 }653 633 }