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

WordPress Trac noreply at wordpress.org
Sat May 7 15:58:44 UTC 2016


#20673: Function split() is deprecated
--------------------------------+----------------------
 Reporter:  gregrobson          |       Owner:  ocean90
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.6
Component:  External Libraries  |     Version:  3.3.2
 Severity:  trivial             |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:
--------------------------------+----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37402"]:
 {{{
 #!CommitTicketReference repository="" revision="37402"
 External Libraries: Replace `split()` with `explode()` in the deprecated
 Atom and MagpieRSS files.

 Before PHP7 `split()` was throwing a deprecated notice, in PHP7 the
 function is completely removed and throws a fatal error.

 Props achbed.
 Fixes #20673.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20673#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list