[wp-trac] [WordPress Trac] #55489: Defining SHORTINIT creates an error when index.php is loaded

WordPress Trac noreply at wordpress.org
Mon May 23 20:40:55 UTC 2022


#55489: Defining SHORTINIT creates an error when index.php is loaded
-----------------------------------------------+-----------------------
 Reporter:  gerendo                            |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:
Component:  Bootstrap/Load                     |     Version:  5.9.2
 Severity:  normal                             |  Resolution:  invalid
 Keywords:  has-screenshots close 2nd-opinion  |     Focuses:  rest-api
-----------------------------------------------+-----------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 > Please correct me if I am mistaken, but I believe the error message that
 @gerendo is seeing is not specific to the REST API using SHORTINIT –
 rather, I believe this error message can be expected to be thrown on every
 non-wp-admin request. 😬

 This is my understanding as well.

 > I would personally like to see some version of an improved SHORTINIT
 experience (autoloading or otherwise) but I also think that's a bit
 outside the scope of what's being discussed here.

 Agreed. I'm not sure what it would look like. Feels similar to making `wp-
 settings.php` more "modular". Feels like maybe a more broad version of
 #34936?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55489#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list