[wp-trac] [WordPress Trac] #31222: define SHORTINIT true
WordPress Trac
noreply at wordpress.org
Tue Feb 3 13:04:04 UTC 2015
#31222: define SHORTINIT true
---------------------------+-----------------------------
Reporter: dugi digitaly | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
[https://github.com/WordPress/WordPress/blob/master/wp-blog-header.php wp-
blog-header.php]
insert: if ( SHORTINIT ) return false; to line 13 or move the wp()
function.
because: wp() function call to $wp->main(..)
but $wp not created if SHORTINIT == true
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31222>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list