[wp-trac] [WordPress Trac] #43366: _default_wp_die_handler() Need filter code for update css style.

WordPress Trac noreply at wordpress.org
Sun Dec 20 01:14:28 UTC 2020


#43366: _default_wp_die_handler() Need filter code for update css style.
-------------------------------+------------------------------
 Reporter:  ravipatel          |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  4.9.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback


Comment:

 Hi there, thanks for the patch!

 What would be a use case for this new filter?

 It seems like this should be an action instead, something like
 `wp_die_handler_head`, outside of the `<style>` tag but still inside the
 `<head>` tag in `_default_wp_die_handler()`. That would provide more
 flexibility and would be consistent with other areas of core, specifically
 the `wp_head`, `admin_head`,  and `login_head` actions.

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


More information about the wp-trac mailing list