WP_Object_Cache::__construct()
Sets up object properties; PHP 5 style constructor.
Description Description
Source Source
File: wp-includes/cache.php
public function __construct() { $this->multisite = is_multisite(); $this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : ''; /** * @todo This should be moved to the PHP4 style constructor, PHP5 * already calls __destruct() */ register_shutdown_function( array( $this, '__destruct' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.0.8 | Introduced. |