Feeds: Fix "Only variables should be passed by reference" PHP notice in `atomlib.php`.

Props jrf.
Fixes #51558.
Built from https://develop.svn.wordpress.org/trunk@49182


git-svn-id: http://core.svn.wordpress.org/trunk@48944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-17 15:45:06 +00:00
parent 5a573f28f2
commit 9d6a2d1c33
2 changed files with 5 additions and 3 deletions

View File

@ -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);

View File

@ -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.