[wp-trac] Re: [WordPress Trac] #9394: set_magic_quotes_runtime deprecated in PHP 5.3

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 25 22:32:56 GMT 2009


#9394: set_magic_quotes_runtime deprecated in PHP 5.3
--------------------------+-------------------------------------------------
 Reporter:  sojweb        |       Owner:  sojweb                                              
     Type:  defect (bug)  |      Status:  new                                                 
 Priority:  normal        |   Milestone:  Unassigned                                          
Component:  General       |     Version:  2.7.1                                               
 Severity:  normal        |    Keywords:  php 5.3, set_magic_quotes_runtime, has-patch, tested
--------------------------+-------------------------------------------------

Comment(by azaozz):

 How about testing for "features"? Easy enough to do here:
 {{{
 if ( function_exists('set_magic_quotes_runtime')
     set_magic_quotes_runtime(0);
 }}}

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


More information about the wp-trac mailing list