[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 17:01:46 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:  reviewing
 Priority:  normal        |   Milestone:  5.4
Component:  Site Health   |     Version:  5.3.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 SergeyBiryukov]:
 > I think [attachment:"no-encode.patch"] would be preferable here, for
 consistency with `_doing_it_wrong()`.

 For some more context, as previously noted in comment:1:ticket:47385#
 WordPress core translations are considered safe because we have a review
 process for them. `esc_url()` was just used as a best practice precaution
 here, rather than a requirement.

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


More information about the wp-trac mailing list