[wp-trac] [WordPress Trac] #46882: Calling wp_get_theme before recovery mode is initialized causes warnings

WordPress Trac noreply at wordpress.org
Mon Apr 15 22:44:05 UTC 2019


#46882: Calling wp_get_theme before recovery mode is initialized causes warnings
-----------------------------------------+-----------------------------
 Reporter:  lkraav                       |       Owner:  SergeyBiryukov
     Type:  defect (bug)                 |      Status:  closed
 Priority:  normal                       |   Milestone:  5.2
Component:  Bootstrap/Load               |     Version:  trunk
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  servehappy has-patch commit  |     Focuses:
-----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45205" 45205]:
 {{{
 #!CommitTicketReference repository="" revision="45205"
 Bootstrap/Load: Remove `WP_Recovery_Mode_Cookie_Service` constructor to
 avoid referencing cookie constants before they are defined.

 Instantiating `WP_Recovery_Mode` should no longer have any required
 timing.

 Props TimothyBlynJacobs, lkraav.
 Fixes #46882.
 }}}

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


More information about the wp-trac mailing list