From cebd60643867f0128b66086da167a2e37963b902 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 May 2016 00:05:02 +0000 Subject: [PATCH] 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 --- src/wp-includes/atomlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/atomlib.php b/src/wp-includes/atomlib.php index 4ec562c64b..368015adb1 100644 --- a/src/wp-includes/atomlib.php +++ b/src/wp-includes/atomlib.php @@ -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);