[wp-trac] [WordPress Trac] #45933: WSODs protection returns incorrect content type

WordPress Trac noreply at wordpress.org
Wed Jan 16 23:35:26 UTC 2019


#45933: WSODs protection returns incorrect content type
--------------------------------------------------+------------------------
 Reporter:  spacedmonkey                          |       Owner:  flixos90
     Type:  defect (bug)                          |      Status:  reviewing
 Priority:  normal                                |   Milestone:  5.1
Component:  Bootstrap/Load                        |     Version:  trunk
 Severity:  normal                                |  Resolution:
 Keywords:  servehappy needs-patch needs-testing  |     Focuses:  multisite
--------------------------------------------------+------------------------

Comment (by spacedmonkey):

 Forgot to mention in  `45933.6.diff` had a couple of other changes.

 1. All call `nocache_headers();`, as no error state should be cached and
 brings inline with default.
 2. All the wp_die handlers respect status passed in the WP_Error object.

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


More information about the wp-trac mailing list