[wp-trac] [WordPress Trac] #22055: in wp-activate.php variable $wp_object_cache should be declared before being used
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 30 14:25:24 UTC 2012
#22055: in wp-activate.php variable $wp_object_cache should be declared before
being used
----------------------------+----------------------
Reporter: nunomorgadinho | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch |
----------------------------+----------------------
Changes (by SergeyBiryukov):
* status: new => closed
* version: trunk =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
It's declared in `wp-includes/cache.php`, which is included earlier along
with other !WordPress environment.
In `wp-activate.php`, it's only used in global scope, so there's no need
to declare it as global.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22055#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list