Merge branch 'update/marketplace-1' into update/marketplace-mobile-fixes

# Conflicts:
#	assets/css/admin.scss
This commit is contained in:
And Finally 2021-08-13 12:59:23 +01:00
commit 5a1ef16774
2 changed files with 5 additions and 1 deletions

View File

@ -179,6 +179,9 @@
h1.search-form-title {
clear: left;
font-size: 20px;
line-height: 1.2;
margin: 48px 0 16px;
padding: 0;
}
@ -217,6 +220,7 @@
display: block;
height: 37px;
line-height: 37px;
margin-top: 16px;
text-align: center;
text-decoration: none;
width: 124px;

View File

@ -65,7 +65,7 @@ $current_section_name = __( 'Browse Categories', 'woocommerce' );
<?php if ( isset( $_GET['search'] ) ) : // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>
<h1 class="search-form-title">
<?php // translators: search keyword. ?>
<?php printf( esc_html__( 'Showing search results for: %s', 'woocommerce' ), '<strong>' . esc_html( sanitize_text_field( wp_unslash( $_GET['search'] ) ) ) . '</strong>' ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>
<?php printf( esc_html__( 'Search results for "%s"', 'woocommerce' ), esc_html( sanitize_text_field( wp_unslash( $_GET['search'] ) ) ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended ?>
</h1>
<?php endif; ?>