External Libraries: After [37402], replace two more instances of `split()` with `explode()` in `wp-includes/atomlib.php`.
Props josephscott. Fixes #20673. git-svn-id: https://develop.svn.wordpress.org/trunk@37461 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e6afe609a5
commit
cebd606438
|
@ -159,7 +159,7 @@ class AtomParser {
|
|||
|
||||
function start_element($parser, $name, $attrs) {
|
||||
|
||||
$tag = array_pop(split(":", $name));
|
||||
$tag = array_pop(explode(":", $name));
|
||||
|
||||
switch($name) {
|
||||
case $this->NS . ':feed':
|
||||
|
@ -238,7 +238,7 @@ class AtomParser {
|
|||
|
||||
function end_element($parser, $name) {
|
||||
|
||||
$tag = array_pop(split(":", $name));
|
||||
$tag = array_pop(explode(":", $name));
|
||||
|
||||
$ccount = count($this->in_content);
|
||||
|
||||
|
|
Loading…
Reference in New Issue