Plugin Directory

Changeset 3462368


Ignore:
Timestamp:
02/16/2026 09:59:30 AM (3 weeks ago)
Author:
visidea
Message:

2.1.39

Location:
visidea
Files:
214 added
4 edited

Legend:

Unmodified
Added
Removed
  • visidea/trunk/admin/class-visidea-admin.php

    r3415144 r3462368  
    12441244    }
    12451245
    1246     $description = ''; //$item->get_description();
     1246    $description = $item->get_description();
    12471247
    12481248    $buffer .= Visidea::sanitizeString($category_ids) . ';' .
  • visidea/trunk/includes/class-visidea.php

    r3415144 r3462368  
    204204   * Sanitize a String.
    205205   *
    206    * Enclose a String in '"' and escape all '"' inside.
     206   * Enclose a String in '"' and escape all '"' and '\' inside.
    207207   *
    208208   * @since 1.0.0
     
    212212   */
    213213  public static function sanitizeString($string) {
    214     return '"' . str_replace('"', '\"', sanitize_text_field($string)) . '"';
     214    return '"' . str_replace(array('"', '\\'), array('\"', '\\\\'), sanitize_text_field($string)) . '"';
    215215  }
    216216
  • visidea/trunk/readme.txt

    r3421667 r3462368  
    66Tested up to: 6.8
    77Requires PHP: 7.0
    8 Stable tag: 2.1.38
     8Stable tag: 2.1.39
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9696
    9797== Changelog ==
     98
     99= 2.1.39 2026-02-16 =
     100Escaping fix
    98101
    99102= 2.1.38 2025-12-17 =
  • visidea/trunk/visidea.php

    r3421667 r3462368  
    55 * Plugin URI: https://visidea.ai
    66 * Description: Visidea is the search and recommendations plugin for WooCommerce. Visidea improves UX and increases the revenues of your website.
    7  * Version: 2.1.38
     7 * Version: 2.1.39
    88 * Author: Inferendo
    99 * Author URI: https://visidea.ai
     
    2727 * Current Visidea version.
    2828 */
    29 define('VISIDEA_VERSION', '2.1.38');
     29define('VISIDEA_VERSION', '2.1.39');
    3030
    3131/**
Note: See TracChangeset for help on using the changeset viewer.