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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 17 16:15:39 UTC 2009


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

  * milestone:  2.9 => Future Release


Comment:

 class-pclzip.php uses ereg only if requested and mentions in a comment
 that it is deprecated.

 That leaves the PemFTP files and phpmailer.  PemFTP is used by class-wp-
 filesystem-ftpsockets.php.  ftpsockets is used only other fs backends are
 unavailable.  Fixing or replacing PemFTP is not priority.

 New versions of phpmailer eliminate the eregi, but those versions require
 PHP5+. We can look into backporting ereg removal for a future WP release.

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


More information about the wp-trac mailing list