[wp-trac] [WordPress Trac] #16026: patch for more support for php 5.3

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 30 02:30:44 UTC 2010


#16026: patch for more support for php 5.3
-------------------------+------------------------------
 Reporter:  NorwayFun    |       Owner:  NorwayFun
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  php 5.3      |
-------------------------+------------------------------

Comment (by mtekk):

 Should probably use
 {{{
 version_compare(PHP_VERSION, '5.3.0', '<')
 }}}
 rather than
 {{{
 strpos($_SERVER['SERVER_SOFTWARE'], 'PHP/5.3') !== false
 }}}
 in wp-settings.php Regardless, it looks like we should be able to use
 {{{
 ini_set('magic_quotes_runtime', 0);
 }}}
 as a drop in replacement of
 {{{
 set_magic_quotes_runtime(0);
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16026#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list