Plugin Directory

Changeset 3345320


Ignore:
Timestamp:
08/15/2025 11:34:43 PM (6 months ago)
Author:
raiansar
Message:

Fix v1.5.7: Search form security - added nonce field

Location:
enhanced-autoload-manager/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • enhanced-autoload-manager/trunk/enhanced-autoload-manager.php

    r3330448 r3345320  
    44Plugin URI: https://raiansar.com/enhanced-autoload-manager
    55Description: Manages autoloaded data in the WordPress database, allowing for individual deletion or disabling of autoload entries.
    6 Version: 1.5.6
     6Version: 1.5.7
    77Author: Rai Ansar
    88Author URI: https://raiansar.com
     
    2525}
    2626if (!defined('EDAL_VERSION')) {
    27     define('EDAL_VERSION', '1.5.6');
     27    define('EDAL_VERSION', '1.5.7');
    2828}
    2929
     
    279279                            <input type="hidden" name="orderby" value="<?php echo esc_attr($orderby); ?>">
    280280                            <input type="hidden" name="order" value="<?php echo esc_attr($order); ?>">
     281                            <?php wp_nonce_field('edal_view_page', '_wpnonce', false); ?>
    281282                            <div class="edal-search-input-wrapper">
    282283                                <input type="text" name="search" id="edal-search-input" placeholder="<?php esc_attr_e('Search autoload options...', 'enhanced-autoload-manager'); ?>" value="<?php echo esc_attr($search); ?>" class="regular-text">
    283284                                <button type="submit" class="button button-secondary"><span class="dashicons dashicons-search"></span></button>
    284285                                <?php if (!empty($search)): ?>
    285                                 <a href="<?php echo esc_url(remove_query_arg('search')); ?>" class="button button-link" title="<?php esc_attr_e('Clear search', 'enhanced-autoload-manager'); ?>">
     286                                <a href="<?php echo esc_url($this->get_admin_url(array('mode' => $mode, 'count' => $count, 'orderby' => $orderby, 'order' => $order))); ?>" class="button button-link" title="<?php esc_attr_e('Clear search', 'enhanced-autoload-manager'); ?>">
    286287                                    <span class="dashicons dashicons-no-alt"></span>
    287288                                </a>
  • enhanced-autoload-manager/trunk/readme.txt

    r3330448 r3345320  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.5.6
     6Stable tag: 1.5.7
    77Requires PHP: 7.4
    88License: GPLv3 or later
     
    6767== Changelog ==
    6868
     69= 1.5.7 =
     70* Fixed search form security check error - added missing nonce field
     71* Fixed clear search link to include proper nonce
     72* Search functionality now properly validates security tokens
     73
    6974= 1.5.6 =
    7075* Fixed AJAX refresh data error - corrected nonce verification issue
Note: See TracChangeset for help on using the changeset viewer.