WordPress.org

Make WordPress Core

Changeset 37461


Ignore:
Timestamp:
05/19/2016 12:05:02 AM (3 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: After [37402], replace two more instances of split() with explode() in wp-includes/atomlib.php.

Props josephscott.
Fixes #20673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/atomlib.php

    r37402 r37461  
    160160    function start_element($parser, $name, $attrs) {
    161161
    162         $tag = array_pop(split(":", $name));
     162        $tag = array_pop(explode(":", $name));
    163163
    164164        switch($name) {
     
    239239    function end_element($parser, $name) {
    240240
    241         $tag = array_pop(split(":", $name));
     241        $tag = array_pop(explode(":", $name));
    242242
    243243        $ccount = count($this->in_content);
Note: See TracChangeset for help on using the changeset viewer.