From c542de41db76b900b61cbd087271d88f2ffed8a7 Mon Sep 17 00:00:00 2001
From: Marco Martins <marcomartins@fimdalinha.com>
Date: Thu, 14 Jun 2018 16:00:34 +0300
Subject: [PATCH] 44360 - wp-includes/customize
---
wp-includes/customize/class-wp-customize-header-image-control.php | 2 +-
wp-includes/customize/class-wp-customize-nav-menu-locations-control.php | 2 +-
wp-includes/customize/class-wp-customize-themes-section.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wp-includes/customize/class-wp-customize-header-image-control.php b/wp-includes/customize/class-wp-customize-header-image-control.php
index 68262dd..b08b382 100644
a
|
b
|
class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { |
178 | 178 | if ( current_theme_supports( 'custom-header', 'video' ) ) { |
179 | 179 | _e( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' ); |
180 | 180 | } elseif ( $width && $height ) { |
181 | | /* translators: %s: header size in pixels */ |
182 | 181 | printf( |
| 182 | /* translators: %s is the header size in pixels */ |
183 | 183 | __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
184 | 184 | sprintf( '<strong>%s × %s</strong>', $width, $height ) |
185 | 185 | ); |
diff --git a/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
index f6474f6..859971e 100644
a
|
b
|
class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control { |
74 | 74 | <?php echo $description; ?> |
75 | 75 | <span class="theme-location-set"> |
76 | 76 | <?php |
77 | | /* translators: %s: menu name */ |
78 | 77 | printf( |
| 78 | /* translators: %s is the menu name */ |
79 | 79 | _x( '(Current: %s)', 'menu location' ), |
80 | 80 | '<span class="current-menu-location-name-' . esc_attr( $location ) . '"></span>' |
81 | 81 | ); |
diff --git a/wp-includes/customize/class-wp-customize-themes-section.php b/wp-includes/customize/class-wp-customize-themes-section.php
index 1af0b1a..0316ec6 100644
a
|
b
|
class WP_Customize_Themes_Section extends WP_Customize_Section { |
87 | 87 | <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p> |
88 | 88 | <p class="no-themes-local"> |
89 | 89 | <?php |
90 | | /* translators: %s: "Search WordPress.org themes" button */ |
91 | 90 | printf( |
| 91 | /* translators: %s is the "Search WordPress.org themes" button text */ |
92 | 92 | __( 'No themes found. Try a different search, or %s.' ), |
93 | 93 | sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) ) |
94 | 94 | ); |