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

WordPress Trac noreply at wordpress.org
Wed Mar 30 19:34:15 UTC 2022


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

Comment (by TimothyBlynJacobs):

 I think placing it in the REST API would be too late. I think the code
 would need to live in `wp()` and it wouldn't really be specific to the
 REST API I think, just any request that utilizes the WP request handler.

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


More information about the wp-trac mailing list