Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#31222 closed defect (bug) (invalid)

define SHORTINIT true

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

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
10 years ago

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

#2 @dugi digitaly
10 years ago

Absolutely right! Thank you.

#3 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.