[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 23:55:08 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 commit fixed-major dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"47523" 47523]:
 {{{
 #!CommitTicketReference repository="" revision="47523"
 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.
 Reviewed by jorgefilipecosta, SergeyBiryukov.
 Merges [47515] to the 5.4 branch.
 Fixes #49709.
 }}}

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


More information about the wp-trac mailing list