💎 PREMIUM: Changeset/ - Complete Album!

Changeset 2737296


Ignore:
Timestamp:
06/04/2022 10:05:24 AM (4 years ago)
Author:
kuroit
Message:

Fixed the security issue

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

Legend:

Unmodified
Added
Removed
  • advanced-admin-search/trunk/Makefile

    r2474185 r2737296  
    11PLUGIN_FILES = $(shell git ls-files)
    2 
    3 
    4 
    5 
    62
    73TARGET = advanced-admin-search.zip
    84
    9 
    10 
    11 
    12 
    135$(TARGET): $(PLUGIN_FILES)
    14 
    15 
    166    zip $(TARGET) $(PLUGIN_FILES)
    177
    18 
    19 
    20 
    21 
    228clean:
    23 
    24 
    259    -$(RM) -r assets/*/node_modules
    26 
    27 
    2810    -$(RM) *.zip
    2911
    30 
    31 
    32 
    33 
    3412.PHONY: clean
    35 
    36 
  • advanced-admin-search/trunk/README.md

    r2534916 r2737296  
    44Tags: advance search, admin search, custom post type search
    55Requires at least: 3.9
    6 Tested up to: 5.7.2
    7 Stable tag: 1.1.2
     6Tested up to: 6.0
     7Stable tag: 1.1.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 1.1.3 =
     82* Bug fixes
    8183= 1.1.2 =
    8284* Readme file updates
  • advanced-admin-search/trunk/advanced-admin-search.php

    r2534916 r2737296  
    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.2
     6 * Version:           1.1.3
    77 * Author:            Kuroit
    88 * Author URI:        https://www.kuroit.com
     
    1010 * License URI:       http://www.gnu.org/licenses/gpl-2.0.html
    1111 */
    12 
    13  
    1412
    1513/* The Advanced Admin Search Plugin
     
    2119
    2220if (!defined('ABSPATH')) {
    23 
    2421    die();// Exit if accessed directly
    25 
    2622}
    2723
    2824require_once plugin_dir_path(__FILE__) . 'searchresults.php';
    29 
    3025require_once plugin_dir_path(__FILE__) . 'menu.php';
    31 
    3226require_once plugin_dir_path(__FILE__) . 'scripts.php';
    33 
    3427require_once plugin_dir_path(__FILE__) . 'searchbox.php';
    3528
    3629// Re-direct on plugin activation
    37 
    3830add_action( 'activated_plugin',  'Kuroit\AdvancedAdminSearch\AASKP_plugin_activated' );
    3931
    4032function AASKP_plugin_activated($plugin){
    41 
    4233    if ( plugin_basename( __FILE__ ) === $plugin ) {
    43 
    4434        exit( wp_safe_redirect( 'admin.php?page=advanced-admin-search' ) );
    45 
    4635    }
    47 
    4836}
    4937
    5038class AASKPadvancedAdminSearch
    51 
    5239{
    5340
    5441    public function __construct() // instantiation
    55 
    5642    {
    5743
    5844        // add input box in admin panel for searching.
    59 
    6045        new AASKP_SearchBox();
    6146
    6247        // get the searching data like admin menu, media labraries, post, pages
    63 
    6448        // and Hook to add javascript.
    65