Plugin Directory

Changeset 2729585


Ignore:
Timestamp:
05/24/2022 04:04:23 PM (4 years ago)
Author:
eggnstone
Message:

v1.0.21: Added support for 404 page.

Location:
widgets-for-amazon/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • widgets-for-amazon/trunk/README.txt

    r2729578 r2729585  
    77Requires PHP: 7.0 
    88Tested up to: 5.9 
    9 Stable tag: 1.0.20
     9Stable tag: 1.0.21
    1010License: GPLv3 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5252== Changelog ==
    5353
    54 #### 1.0.20 - 2022-05-24
     54#### 1.0.21 - 2022-05-24
    5555
    5656- Added support for 404 page.
  • widgets-for-amazon/trunk/includes/Plugin.php

    r2729578 r2729585  
    7777        $query = str_replace('?', ' ', $query);
    7878        $query = str_replace('&', ' ', $query);
     79        $query = str_replace('/', ' ', $query);
     80        $query = str_replace('\\', ' ', $query);
     81        $query = str_replace('<', ' ', $query);
     82        $query = str_replace('>', ' ', $query);
     83        $query = trim($query);
     84
    7985        $inputForScript = 'category="' . $noResultsPageCategory . '" keywords="' . $query . '"';
    8086
  • widgets-for-amazon/trunk/widgets-for-amazon.php

    r2729578 r2729585  
    55 * Plugin URI: https://blog.eggnstone.com/blog/widgets-for-amazon-for-wordpress
    66 * Description: Widgets for Amazon by eggnstone
    7  * Version: 1.0.20
     7 * Version: 1.0.21
    88 * Author: eggnstone
    99 * Author URI: https://eggnstone.com
Note: See TracChangeset for help on using the changeset viewer.