Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#20673 closed defect (bug) (wontfix)

Function split() is deprecated

Reported by: gregrobson Owned by:
Priority: normal Milestone:
Component: External Libraries Version: 3.3.2
Severity: trivial Keywords:
Cc:

Description

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

list($ns, $el) = explode( ':', $element, 2);[[BR]]

split() is now deprecated in PHP 5.3

Change History (3)

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

wp-includes/rss.php is an external library that has been deprecated in WordPress (use SimplePie instead) so it will not be changed.

See #16325.

  • Component changed from General to External Libraries

Okay, I'll contact the writer of the Bei Fen plugin - I had 80+ emails in the space of a minute due to it's reliance on this file. This is only from one installation of WordPress!

Didn't realise the deprecated files would not be updated. This is the first time I've ever filed a suspected bug!

Note: See TracTickets for help on using tickets.