[wp-trac] [WordPress Trac] #49148: ini_set calls cause error on Ajax requests

WordPress Trac noreply at wordpress.org
Tue Jan 7 21:16:58 UTC 2020


#49148: ini_set calls cause error on Ajax requests
----------------------------+-----------------------------
 Reporter:  shazdeh         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Bootstrap/Load  |    Version:  5.3.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Using Ajax API, the response contains this error: `Warning: ini_set has
 been disabled for security reasons in wp-includes/load.php on line 352`.

 I checked and previous versions of WP have the `@` operator before the
 `ini_set` calls in `wp_debug_mode()` to prevent errors, seem to be removed
 in latest version.

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


More information about the wp-trac mailing list