Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#31222 closed defect (bug) (invalid)

define SHORTINIT true

Reported by: dugi digitaly Owned by:
Priority: normal Milestone:
Component: General Version: 4.1
Severity: normal Keywords:
Cc: Focuses:

Description

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

Change History (3)

#1 @SergeyBiryukov
12 years ago

wp-blog-header.php is not the correct file to include in SHORTINIT mode, wp-load.php is.

#2 @dugi digitaly
12 years ago

Absolutely right! Thank you.

#3 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed
Note: See TracTickets for help on using tickets.