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

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 21 18:17:10 UTC 2009


#10460: ereg is deprecated in PHP 5.3
------------------------------+---------------------------------------------
 Reporter:  lloydbudd         |       Owner:                      
     Type:  defect (bug)      |      Status:  new                 
 Priority:  low               |   Milestone:  Future Release      
Component:  Warnings/Notices  |     Version:  2.9                 
 Severity:  normal            |    Keywords:  php 5.3, deprecated,
------------------------------+---------------------------------------------
 {{{ereg}}} is deprecated in PHP 5.3 . Need to be replaced with {{{preg}}}
 family of functions.

 {{{
 $ ack ereg -l
 wp-admin/includes/class-ftp-pure.php
 wp-admin/includes/class-ftp-sockets.php
 wp-admin/includes/class-ftp.php
 wp-admin/includes/class-pclzip.php
 wp-includes/class-phpmailer.php
 wp-includes/class-pop3.php
 wp-includes/functions.wp-scripts.php
 wp-includes/functions.wp-styles.php
 wp-includes/gettext.php
 wp-includes/rewrite.php
 }}}

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


More information about the wp-trac mailing list