CoreFiles by mySites.guru
class-IXR-base64.php32 lines, 414 bytes, from wordpress-5.2.zip
Raw History Compare with 5.1.28
md5
ee2a36d606d508af44b654e6176599bb
sha1
d3a621dd748960338abd71f970407cab9bde4064
sha256
b6af5e8592b8fe0c367bc30a41ef22551bf4ae199496302d04885169b6c69525
<?php

/**
 * IXR_Base64
 *
 * @package IXR
 * @since 1.5.0
 */
class IXR_Base64
{
    var $data;

	/**
	 * PHP5 constructor.
	 */
    function __construct( $data )
    {
        $this->data = $data;
    }

	/**
	 * PHP4 constructor.
	 */
	public function IXR_Base64( $data ) {
		self::__construct( $data );
	}

    function getXml()
    {
        return '<base64>'.base64_encode($this->data).'</base64>';
    }
}

The same content is in 787 releases, WordPress 4.7-beta1 to 7.2-beta5. See them all, or every version of this file.