[wp-trac] [WordPress Trac] #46910: Allow wp_die to called after html has started output
WordPress Trac
noreply at wordpress.org
Sat Apr 13 21:22:13 UTC 2019
#46910: Allow wp_die to called after html has started output
------------------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch servehappy | Focuses:
------------------------------------+------------------------------
Comment (by spacedmonkey):
@ocean90 Good spot. But doesn’t do the same for the thing front end. The
check for did_action(‘admin_head’) could be changed for check for wp_head
as well. Meaning, the wp_die would work much better on the front end. But
it might mean styling would look weird, but this maybe fixable by theme
developers...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46910#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list