[wp-trac] [WordPress Trac] #53262: wp_robots() (via wp_die) triggers a "doing_it_wrong_trigger_error", but should not.

WordPress Trac noreply at wordpress.org
Wed Jun 8 10:46:30 UTC 2022


#53262: wp_robots() (via wp_die) triggers a "doing_it_wrong_trigger_error", but
should not.
--------------------------+------------------------------
 Reporter:  juliobox      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.7
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by optimocha):

 * Attachment "fix-wp_die-notices.patch" added.

 Fix wp_die() notices regarding early detections of is_embed and is_search

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53262>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list