Ticket #41615: 41615.diff
File 41615.diff, 680 bytes (added by , 7 years ago) |
---|
-
cache.php
701 701 } 702 702 703 703 /** 704 * Sets up object properties; PHP 5 styleconstructor.704 * Sets up object properties; constructor. 705 705 * 706 706 * @since 2.0.8 707 707 */ … … 708 708 public function __construct() { 709 709 $this->multisite = is_multisite(); 710 710 $this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : ''; 711 712 713 /**714 * @todo This should be moved to the PHP4 style constructor, PHP5715 * already calls __destruct()716 */717 register_shutdown_function( array( $this, '__destruct' ) );718 711 } 719 712 720 713 /**