diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php index ce62b13599..97f85baf2d 100644 --- a/wp-includes/atomlib.php +++ b/wp-includes/atomlib.php @@ -191,7 +191,8 @@ class AtomParser { function start_element($parser, $name, $attrs) { - $tag = array_pop(explode(":", $name)); + $name_parts = explode(":", $name); + $tag = array_pop($name_parts); switch($name) { case $this->NS . ':feed': @@ -270,7 +271,8 @@ class AtomParser { function end_element($parser, $name) { - $tag = array_pop(explode(":", $name)); + $name_parts = explode(":", $name); + $tag = array_pop($name_parts); $ccount = count($this->in_content); diff --git a/wp-includes/version.php b/wp-includes/version.php index 80b0ffa522..789711c45f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49181'; +$wp_version = '5.6-alpha-49182'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.