[wp-trac] [WordPress Trac] #10460: ereg is deprecated in PHP 5.3

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 10 13:58:49 UTC 2009


#10460: ereg is deprecated in PHP 5.3
------------------------------+---------------------------------------------
 Reporter:  lloydbudd         |       Owner:                                
     Type:  defect (bug)      |      Status:  new                           
 Priority:  high              |   Milestone:  2.9                           
Component:  Warnings/Notices  |     Version:  2.9                           
 Severity:  major             |    Keywords:  needs-patch php 5.3 deprecated
------------------------------+---------------------------------------------
Changes (by eddieringle):

 * cc: eddie@… (added)
  * keywords:  needs-patch php 5.3, deprecated => needs-patch php 5.3
               deprecated


Comment:

 I ran ack-grep myself and found that the WordPress files in the list above
 do not contain any ereg functions, but phrases that contain the pattern
 'ereg' (e.g. $pag'''ereg'''ex, wp_d'''ereg'''ister_style( $handle )).
 The external libraries (class-*.php) do however contain ereg functions.
 Has this been fixed, and that is why I am not seeing any ereg functions?

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


More information about the wp-trac mailing list