[wp-trac] [WordPress Trac] #20673: Function split() is deprecated

WordPress Trac wp-trac at lists.automattic.com
Mon May 14 12:19:31 UTC 2012


#20673: Function split() is deprecated
--------------------------+-----------------------------
 Reporter:  gregrobson    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3.2
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 Encountered the following email error from a plugin.

 ''Bei Fen has encountered an error: 8192, Function split() is deprecated,
 /wp-includes/rss.php, 104''

 I have checked rss.php, on line 104.


 {{{
 list($ns, $el) = split( ':', $element, 2);[[BR]]
 }}}
 change to[[BR]]
 {{{
 list($ns, $el) = explode( ':', $element, 2);[[BR]]
 }}}
 split() is now deprecated in PHP 5.3

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


More information about the wp-trac mailing list