[wp-trac] [WordPress Trac] #49709: Call to undefined function esc_url() in wp-includes/class-wp-fatal-error-handler.php:190

WordPress Trac noreply at wordpress.org
Fri Mar 27 18:21:09 UTC 2020


#49709: Call to undefined function esc_url() in wp-includes/class-wp-fatal-error-
handler.php:190
--------------------------+-----------------------------
 Reporter:  rob006        |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.4
Component:  Site Health   |     Version:  5.3.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"47515" 47515]:
 {{{
 #!CommitTicketReference repository="" revision="47515"
 Site Health: Remove `esc_url()` used on "Debugging in WordPress" article
 URL in `WP_Fatal_Error_Handler::display_default_error_template()`.

 The function may not be available in some contexts, for example if a fatal
 error happens in `advanced-cache.php` drop-in.

 Props rob006.
 Fixes #49709.
 }}}

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


More information about the wp-trac mailing list