Plugin Directory

Changeset 2742475


Ignore:
Timestamp:
06/14/2022 09:27:49 PM (4 years ago)
Author:
kuroit
Message:

Escaping vars

Location:
advanced-admin-search/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-admin-search/trunk/README.md

    r2742015 r2742475  
    55Requires at least: 3.9
    66Tested up to: 6.0
    7 Stable tag: 1.1.5
     7Stable tag: 1.1.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 1.1.6 =
     82* Bug fixes
    8183= 1.1.5 =
    8284* Bug fixes
  • advanced-admin-search/trunk/advanced-admin-search.php

    r2742015 r2742475  
    44 * Plugin URI:        https://www.kuroit.com/product/advanced-admin-search
    55 * Description:       Easily search everything in WordPress admin panel from one single search field.
    6  * Version:           1.1.5
     6 * Version:           1.1.6
    77 * Author:            Kuroit
    88 * Author URI:        https://www.kuroit.com
  • advanced-admin-search/trunk/menu.php

    r2742015 r2742475  
    5757            <input type="hidden" class="input_page" name="page" value="advanced-admin-search">
    5858           
    59             <input name="keyword" class="input_search" type="text" value="<?php if(isset($selectedKeyword) && $selectedKeyword!='') _e($selectedKeyword, 'advanced-admin-search'); ?>" placeholder="Search in database" id="post_search_box1" autocomplete="off" required />
     59            <input name="keyword" class="input_search" type="text" value="<?php if(isset($selectedKeyword) && $selectedKeyword!='') echo(esc_attr($selectedKeyword)); ?>" placeholder="Search in database" id="post_search_box1" autocomplete="off" required />
    6060           
    6161            <select name="select" class="select1">
     
    8181            </select>
    8282
    83             <input type="text" input class="input_page input_search" name="user" placeholder="Filter by author ID or username" value="<?php if(isset($selectedUser) && $selectedUser!='') _e($selectedUser, 'advanced-admin-search'); ?>"/></br>
     83            <input type="text" input class="input_page input_search" name="user" placeholder="Filter by author ID or username" value="<?php if(isset($selectedUser) && $selectedUser!='') echo(esc_attr($selectedUser)); ?>"/></br>
    8484
    8585            <div class="advanced_search">
     
    8787                <p><span><input type="checkbox" id="open_advance_search" /><label for="open_advance_search" class="highlighted_adv_label"><i>Check this box to enable meta search</i></label></span></p>
    8888
    89                 <input type="text" input class="input_key input_search" name="metaKey" placeholder="Filter by meta key" value="<?php if(isset($selectedMetaKey) && $selectedMetaKey!='') _e($selectedMetaKey, 'advanced-admin-search'); ?>" disabled="" title="Check the box above to enable meta search fields" />
    90 
    91                 <input type="text" input class="input_value input_search" name="metaValue" placeholder="Filter by meta value" value="<?php if(isset($selectedMetaVal) && $selectedMetaVal!='') _e($selectedMetaVal, 'advanced-admin-search'); ?>" disabled="" title="Check the box above to enable meta search fields" />
     89                <input type="text" input class="input_key input_search" name="metaKey" placeholder="Filter by meta key" value="<?php if(isset($selectedMetaKey) && $selectedMetaKey!='') echo(esc_attr($selectedMetaKey)); ?>" disabled="" title="Check the box above to enable meta search fields" />
     90
     91                <input type="text" input class="input_value input_search" name="metaValue" placeholder="Filter by meta value" value="<?php if(isset($selectedMetaVal) && $selectedMetaVal!='') echo(esc_attr($selectedMetaVal)); ?>" disabled="" title="Check the box above to enable meta search fields" />
    9292
    9393                <select name="matchType" input class="select1" disabled="" title="Check the box above to enable meta search fields">
Note: See TracChangeset for help on using the changeset viewer.