Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#49148 closed defect (bug) (duplicate)

ini_set calls cause error on Ajax requests

Reported by: shazdeh's profile shazdeh Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3.2
Component: Bootstrap/Load Keywords:
Focuses: Cc:

Description

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.

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

Thanks for the report, we're already tracking this issue in #48693.

Note: See TracTickets for help on using tickets.