[wp-trac] [WordPress Trac] #26265: safe_mode error when uploading audio/video (stuck on crunching)

WordPress Trac noreply at wordpress.org
Mon Mar 24 22:39:15 UTC 2014


#26265: safe_mode error when uploading audio/video (stuck on crunching)
--------------------------+-----------------------------
 Reporter:  tomsommer     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.6
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by wonderboymusic):

 `safe_mode` isn't supported by PHP anymore. It is deprecated since PHP
 5.3. WordPress makes changes with every new version of PHP when necessary
 but provides backwards compatibility back to PHP 5.2.4.

 The only reason to address this issue would be for versions >= PHP 5.2.4
 and < PHP 5.3. Even then, suppressing the error for `realpath()` and
 allowing the override of `GETID3_TEMP_DIR` should be filed upstream:
 https://github.com/jamesheinrich/getid3 - we don't typically patch
 external libraries directly.

 I like the direction of your patch, thanks for alerting us to the issue.

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


More information about the wp-trac mailing list