[wp-trac] [WordPress Trac] #21432: Deprecate *_blog_option()
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 8 21:19:07 UTC 2012
#21432: Deprecate *_blog_option()
--------------------------+-----------------------
Reporter: ryan | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: General | Version: 3.4.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Changes (by ryan):
* status: closed => reopened
* resolution: fixed =>
Comment:
{{{
PHP Fatal error: Call to undefined function get_current_blog_id() in
/.../wp-includes/ms-blogs.php on line 340
}}}
Looks like the blog option functions are being called before general-
template.php is loaded. Alternatives are to go back to using the blog_id
global or perhaps moving get_current_blog_id() to load.php.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21432#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list