CoreFiles by mySites.guru
class-wp-customize-site-logo-control.php53 lines, 1,223 bytes, from wordpress-4.5-beta2.zip
Raw History Compare with 4.5-beta1
md5
3fbe951d21a394742558e0f820a69ac9
sha1
c5f89bb4bfb01b597b05fbcb59152e53e2f8031d
sha256
56be9666859fe9c98c69379e1f25c9ef860c2441b8645808d54970c6d3fc20a5
<?php
/**
 * Customize API: WP_Customize_Site_Logo_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.5.0
 */

/**
 * Customize Site Logo control class.
 *
 * Used only for custom functionality in JavaScript.
 *
 * @since 4.5.0
 *
 * @see WP_Customize_Image_Control
 */
class WP_Customize_Site_Logo_Control extends WP_Customize_Image_Control {

	/**
	 * Control type.
	 *
	 * @since 4.5.0
	 * @access public
	 * @var string
	 */
	public $type = 'site_logo';

	/**
	 * Constructor.
	 *
	 * @since 4.5.0
	 * @access public
	 *
	 * @param WP_Customize_Manager $manager Customizer bootstrap instance.
	 * @param string               $id      Control ID.
	 * @param array                $args    Optional. Arguments to override class property defaults.
	 */
	public function __construct( $manager, $id, $args = array() ) {
		parent::__construct( $manager, $id, $args );

		$this->button_labels = array(
			'select'       => __( 'Select logo' ),
			'change'       => __( 'Change logo' ),
			'remove'       => __( 'Remove' ),
			'default'      => __( 'Default' ),
			'placeholder'  => __( 'No logo selected' ),
			'frame_title'  => __( 'Select logo' ),
			'frame_button' => __( 'Choose logo' ),
		);
	}
}

The same content is in 2 releases, WordPress 4.5-beta1 to 4.5-beta2. See them all, or every version of this file.