[wp-trac] [WordPress Trac] #26262: Ajax requests shouldn't display errors

WordPress Trac noreply at wordpress.org
Thu Apr 28 20:06:20 UTC 2016


#26262: Ajax requests shouldn't display errors
----------------------------+---------------------
 Reporter:  pento           |       Owner:  nacin
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.5
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+---------------------

Comment (by pavelevap):

 This change probably caused problems for many sites, see for example:
 https://wordpress.org/support/topic/problems-with-45-upgrade-add-media-
 not-working/

 You can also Google for:
 {{{
 ini_set() has been disabled for security reasons in wp-includes/load.php
 on line 305
 }}}

 I found that it is caused by this change for sites which have
 `diplay_errors` set to "On" and disabled `ini_set()` for security reasons.
 In this case Ajax calls are returning and displaying PHP error and that is
 why Ajax calls fail. And for users it means that it is not possible to
 open Media modal window, insert media into post, etc. Should I create a
 new ticket for this?

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


More information about the wp-trac mailing list