Merge pull request #24522 from yash-webkul/patch-20

Update html-admin-page-addons.php
This commit is contained in:
Claudio Sanches 2019-08-28 12:45:06 -03:00 committed by GitHub
commit ec1ba8db9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ if ( ! defined( 'ABSPATH' ) ) {
type="text"
name="search"
value="<?php echo esc_attr( isset( $_GET['search'] ) ? sanitize_text_field( wp_unslash( $_GET['search'] ) ) : '' ); ?>"
placeholder="<?php esc_html_e( 'Enter a search term and press enter', 'woocommerce' ); ?>">
placeholder="<?php esc_attr_e( 'Enter a search term and press enter', 'woocommerce' ); ?>">
<input type="hidden" name="page" value="wc-addons">
<?php $page_section = ( isset( $_GET['section'] ) && '_featured' !== $_GET['section'] ) ? sanitize_text_field( wp_unslash( $_GET['section'] ) ) : '_all'; ?>
<input type="hidden" name="section" value="<?php echo esc_attr( $page_section ); ?>">