[wp-trac] [WordPress Trac] #27671: wp_die() handler for admin-post.php

WordPress Trac noreply at wordpress.org
Mon Nov 14 17:53:59 UTC 2022


#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:  good-first-bug needs-patch  |     Focuses:
----------------------------------------+------------------------------
Changes (by desrosj):

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug
     needs-patch
 * owner:  whyisjake => (none)
 * milestone:   => Awaiting Review


Comment:

 It's been 8 years since an owner was assigned to this one.

 I'm going to reset that field to encourage new folks to take lead.

 [attachment:"admin-post.diff"] does not look like the correct solution as
 it seems to copy `_ajax_wp_die_handler()` over to `admin-post.php`. The
 correct "die handler" to use is determined within `wp_die()` beased on the
 type of request being made.

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


More information about the wp-trac mailing list