Changeset 30885 for trunk/src/wp-includes/class-wp-customize-control.php
- Timestamp:
- 12/15/2014 11:27:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r30849 r30885 880 880 */ 881 881 class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control { 882 public $type = 'background'; 882 883 883 884 /** … … 893 894 'label' => __( 'Background Image' ), 894 895 'section' => 'background_image', 896 ) ); 897 } 898 899 /** 900 * Enqueue control related scripts/styles. 901 * 902 * @since 4.1.0 903 */ 904 public function enqueue() { 905 parent::enqueue(); 906 907 wp_localize_script( 'customize-controls', '_wpCustomizeBackground', array( 908 'nonces' => array( 909 'add' => wp_create_nonce( 'background-add' ), 910 ), 895 911 ) ); 896 912 } … … 913 929 ), 914 930 'section' => 'header_image', 915 'context' => 'custom-header',916 931 'removed' => 'remove-header', 917 932 'get_url' => 'get_header_image',
Note: See TracChangeset
for help on using the changeset viewer.