[wp-trac] [WordPress Trac] #46358: Any POST request doesn't output any errors in version 5

WordPress Trac noreply at wordpress.org
Wed Feb 27 09:31:18 UTC 2019


#46358: Any POST request doesn't output any errors in version 5
---------------------------+-----------------------------
 Reporter:  developedbyme  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.1
 Severity:  normal         |   Keywords:
  Focuses:  rest-api       |
---------------------------+-----------------------------
 Any POST to either a page or the Rest API doesn't output errors or after
 update to version 5.

 If you have a fatal error it justs stops without outputting anything.

 Configuration in wp-config.php
 define('WP_DEBUG', true);
 error_reporting(E_ALL);

 In any file:
 function_that_doesnt_exists();

 Expected result (works in 4.9):
 <b>Fatal error</b>:  Call to undefined function
 function_that_doesnt_exists()

 Actual result (in 5.0.3 and 5.1):
 (no output at all)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46358>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list