[wp-trac] [WordPress Trac] #27671: wp_die() handler for admin-post.php
WordPress Trac
noreply at wordpress.org
Sun Feb 19 19:11:45 UTC 2023
#27671: wp_die() handler for admin-post.php
-------------------------------+------------------------------
Reporter: danielbachhuber | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch close | Focuses:
-------------------------------+------------------------------
Changes (by azaozz):
* keywords: good-first-bug needs-patch => needs-patch close
Comment:
Replying to [comment:8 desrosj]:
> It's been 8 years since...
Old tickets are old usually for a good reason. Many seem fixed elsewhere
or not relevant any more. Others seem to fall into the category of
"perhaps maybe probably a good idea, but... too little interest for too
many years".
> similar outcome could be achieved without this change by hooking
`_default_wp_die_handler` and identifying the admin-post.php requests in
the callback.
Yep, think this is the expected use of that filter, and it solves this
case too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27671#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list