Plugin Directory

Changeset 3155288


Ignore:
Timestamp:
09/20/2024 04:03:32 PM (16 months ago)
Author:
Prisna
Message:

Updated code to prevent administrators from injecting a PHP object during the settings import process

Location:
wp-yandex-translate/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-yandex-translate/trunk/classes/admin.class.php

    r1423668 r3155288  
    282282        }
    283283       
    284         $unserialize = @unserialize($decode);
     284        $unserialize = preg_match('/O:\d+:(["\'])[^\1]+?\1:\d+:{/i', $decode) ? '' : @unserialize($decode);
    285285
    286286        if (!is_array($unserialize)) {
  • wp-yandex-translate/trunk/readme.txt

    r3118558 r3155288  
    33Tags: перевести веб-сайт, перевести автоматически, перевести язык, языковой переводчик, translation plugin, automatic translation, yandex translate, machine translation, automatic translate, yandex website translator, yandex translator, yandex language translator
    44Requires PHP: 5.6
    5 Stable tag: 1.0.6
     5Stable tag: 1.0.7
    66Requires at least: 3.3
    77Tested up to: 6.6
  • wp-yandex-translate/trunk/templates/admin/main_form.tpl

    r2924855 r3155288  
    55        <div class="prisna_ywt_header_title"><a href="http://www.prisna.net/?d=96bf1f652e7648e6a8163cdd0a8fba41" target="_blank">Prisna YT</a> - {{ title_message }}</div>
    66    </div>
    7     <div class="prisna_ywt_header_version"><a href="https://wordpress.org/plugins/yandex-website-translator/changelog/" target="_blank">v1.0.6</a></div>
     7    <div class="prisna_ywt_header_version"><a href="https://wordpress.org/plugins/yandex-website-translator/changelog/" target="_blank">v1.0.7</a></div>
    88</div>
    99
  • wp-yandex-translate/trunk/wp-yandex-translate.php

    r2924855 r3155288  
    66 * Description: Add the Yandex translate widget to have your website available in 70+ languages isntantly. Installing the translator is fast and simple.
    77 * Author: Prisna
    8  * Version: 1.0.6
     8 * Version: 1.0.7
    99 * Author URI: http://www.prisna.net/
    1010 * License: GPL2+
     
    1414
    1515define('PRISNA_YWT__MINIMUM_WP_VERSION', '3.3');
    16 define('PRISNA_YWT__VERSION', '1.0.6');
     16define('PRISNA_YWT__VERSION', '1.0.7');
    1717
    1818define('PRISNA_YWT__PLUGIN_DIR', plugin_dir_path(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.