diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index f7ce36fe7..f73ebc2bb 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -225,7 +225,7 @@ class IXR_Message { $valueFlag = true; break; case 'base64': - $value = base64_decode($this->_currentTagContents); + $value = base64_decode( trim($this->_currentTagContents) ); $this->_currentTagContents = ''; $valueFlag = true; break;