mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Require once only. Props masquerade. fixes #4192
git-svn-id: http://svn.automattic.com/wordpress/trunk@5313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1657ad3db3
commit
b3d3d731ac
@ -123,9 +123,9 @@ if ( defined('CUSTOM_USER_META_TABLE') )
|
||||
$wpdb->usermeta = CUSTOM_USER_META_TABLE;
|
||||
|
||||
if ( file_exists(ABSPATH . 'wp-content/object-cache.php') )
|
||||
require (ABSPATH . 'wp-content/object-cache.php');
|
||||
require_once (ABSPATH . 'wp-content/object-cache.php');
|
||||
else
|
||||
require (ABSPATH . WPINC . '/cache.php');
|
||||
require_once (ABSPATH . WPINC . '/cache.php');
|
||||
|
||||
wp_cache_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user