/home/altere25/infinet.finance/wp-includes/customize
NameSizeModeActions
class-wp-customize-background-image-control.php12840644editdlrm
class-wp-customize-background-image-setting.php7820644editdlrm
class-wp-customize-background-position-control.php30320644editdlrm
class-wp-customize-code-editor-control.php23170644editdlrm
class-wp-customize-color-control.php32090644editdlrm
class-wp-customize-cropped-image-control.php14590644editdlrm
class-wp-customize-custom-css-setting.php76930644editdlrm
class-wp-customize-date-time-control.php94460644editdlrm
class-wp-customize-filter-setting.php7330644editdlrm
class-wp-customize-header-image-control.php83130644editdlrm
class-wp-customize-header-image-setting.php18380644editdlrm
class-wp-customize-image-control.php12110644editdlrm
class-wp-customize-media-control.php94660644editdlrm
class-wp-customize-nav-menu-auto-add-control.php11220644editdlrm
class-wp-customize-nav-menu-control.php21280644editdlrm
class-wp-customize-nav-menu-item-control.php81570644editdlrm
class-wp-customize-nav-menu-item-setting.php280840644editdlrm
class-wp-customize-nav-menu-location-control.php22990644editdlrm
class-wp-customize-nav-menu-locations-control.php28170644editdlrm
class-wp-customize-nav-menu-name-control.php11310644editdlrm
class-wp-customize-nav-menu-section.php7160644editdlrm
class-wp-customize-nav-menu-setting.php191280644editdlrm
class-wp-customize-nav-menus-panel.php33090644editdlrm
class-wp-customize-new-menu-control.php17100644editdlrm
class-wp-customize-new-menu-section.php16930644editdlrm
class-wp-customize-partial.php105430644editdlrm
class-wp-customize-selective-refresh.php137760644editdlrm
class-wp-customize-sidebar-section.php10590644editdlrm
class-wp-customize-site-icon-control.php51630644editdlrm
class-wp-customize-theme-control.php118890644editdlrm
class-wp-customize-themes-panel.php33850644editdlrm
class-wp-customize-themes-section.php69550644editdlrm
class-wp-customize-upload-control.php11970644editdlrm
class-wp-sidebar-block-editor-control.php6860644editdlrm
class-wp-widget-area-customize-control.php17190644editdlrm
class-wp-widget-form-customize-control.php26460644editdlrm
Edit: /home/altere25/infinet.finance/wp-includes/customize/class-wp-customize-header-image-control.php (8313B)
__( 'Header Image' ), 'settings' => array( 'default' => 'header_image', 'data' => 'header_image_data', ), 'section' => 'header_image', 'removed' => 'remove-header', 'get_url' => 'get_header_image', ) ); } /** * Enqueues control related scripts/styles. * * @since 3.9.0 */ public function enqueue() { wp_enqueue_media(); wp_enqueue_script( 'customize-views' ); $this->prepare_control(); wp_localize_script( 'customize-views', '_wpCustomizeHeader', array( 'data' => array( 'width' => absint( get_theme_support( 'custom-header', 'width' ) ), 'height' => absint( get_theme_support( 'custom-header', 'height' ) ), 'flex-width' => absint( get_theme_support( 'custom-header', 'flex-width' ) ), 'flex-height' => absint( get_theme_support( 'custom-header', 'flex-height' ) ), 'currentImgSrc' => $this->get_current_image_src(), ), 'nonces' => array( 'add' => wp_create_nonce( 'header-add' ), 'remove' => wp_create_nonce( 'header-remove' ), ), 'uploads' => $this->uploaded_headers, 'defaults' => $this->default_headers, ) ); parent::enqueue(); } /** * Prepares the control. * * @since 3.9.0 * * @global Custom_Image_Header $custom_image_header */ public function prepare_control() { global $custom_image_header; if ( empty( $custom_image_header ) ) { return; } add_action( 'customize_controls_print_footer_scripts', array( $this, 'print_header_image_template' ) ); // Process default headers and uploaded headers. $custom_image_header->process_default_headers(); $this->default_headers = $custom_image_header->get_default_header_images(); $this->uploaded_headers = $custom_image_header->get_uploaded_header_images(); } /** * Prints header image template. * * @since 3.9.0 */ public function print_header_image_template() { ?> value(); if ( isset( $this->get_url ) ) { $src = call_user_func( $this->get_url, $src ); return $src; } } /** * Renders the control's content. * * @since 3.9.0 */ public function render_content() { $visibility = $this->get_current_image_src() ? '' : ' style="display:none" '; $width = absint( get_theme_support( 'custom-header', 'width' ) ); $height = absint( get_theme_support( 'custom-header', 'height' ) ); ?>
' . $this->label . ''; } ?>

%s × %s', $width, $height ) ); } elseif ( $width ) { printf( /* translators: %s: Header width in pixels. */ __( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), sprintf( '%s', $width ) ); } else { printf( /* translators: %s: Header height in pixels. */ __( 'Click “Add Image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), sprintf( '%s', $height ) ); } ?>