#20673 closed defect (bug) (wontfix)
Function split() is deprecated
| Reported by: |
|
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
comment:2
SergeyBiryukov — 12 months ago
- Component changed from General to External Libraries
comment:3
gregrobson — 12 months ago
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.

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.