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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 26 08:51: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 jacobsantos):

 Replying to [comment:4 azaozz]:
 > How about testing for "features"? Easy enough to do here:
 > {{{
 > if ( function_exists('set_magic_quotes_runtime')
 >     set_magic_quotes_runtime(0);
 > }}}
 This does not cover deprecated. PHP6 isn't going to be released in a
 while, so covering support for it now, doesn't seem like a good idea.

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


More information about the wp-trac mailing list