Plugin Directory

Changeset 2877748


Ignore:
Timestamp:
03/10/2023 09:53:03 AM (3 years ago)
Author:
bigdropgr
Message:

update to version 2.1.5

Location:
greek-multi-tool
Files:
60 added
3 edited

Legend:

Unmodified
Added
Removed
  • greek-multi-tool/trunk/admin/functions/oldtranslator.php

    r2816809 r2877748  
    6565    $posts = $wpdb->get_results("SELECT ID, post_name, post_title FROM {$wpdb->posts} WHERE post_name REGEXP('[^A-Za-z0-9\-]+') AND post_status IN ('publish', 'future', 'private')");
    6666    foreach ( (array) $posts as $post ) {
    67         $sanitized_name = grmlt_old_sanitizer($post->post_title);
     67        $sanitized_name_var = grmlt_old_sanitizer($post->post_title);
     68        $sanitized_name = preg_replace("/[^A-Za-z0-9-]+/","",$sanitized_name_var);
    6869        if ( $post->post_name != $sanitized_name ) {
    6970            $wpdb->update($wpdb->posts, array( 'post_name' => $sanitized_name ), array( 'ID' => $post->ID ));
  • greek-multi-tool/trunk/grmlt-plugin.php

    r2845464 r2877748  
    22/**
    33 * @link              https://bigdrop.gr
    4  * @since             2.1.4
     4 * @since             1.0.0
    55 * @package           Grmlt_Plugin
    66 *
     
    99 * Plugin URI:        https://bigdrop.gr/greek-multi-tool
    1010 * Description:       This plugin provides a handful of tools and key functionalities to simplify and fix the greek language used in your webpage. For example it change the greek character urls to latin, remove the uppercase accents.
    11  * Version:           2.1.4
     11 * Version:           2.1.5
    1212 * Author:            BigDrop.gr
    1313 * Author URI:        https://bigdrop.gr
     
    2828 * Currently plugin version.
    2929 */
    30 define( 'GRMLT_PLUGIN_VERSION', '2.1.4' );
     30define( 'GRMLT_PLUGIN_VERSION', '2.1.5' );
    3131
    3232/**
  • greek-multi-tool/trunk/readme.txt

    r2845464 r2877748  
    33Tags: greek, greeklish, permalinks, accent remover, multi tool
    44Requires at least: 5.4
    5 Stable tag: 2.1.4
     5Stable tag: 2.1.5
    66Tested up to: 6.1.1
    77Requires PHP: 7.4
     
    192192* Fix compatibility with WP 6.1.1
    193193
     194= 2.1.5 =
     195
     196* Fixed bug where 301 redirect url would construct incorrectly incase the post title included a non alphanumeric ( A-Z or 0-9 ) character.
     197
    194198== Upgrade Notice ==
    195199Make sure to keep this plugin up to date, to avoid any issue with the translation functionalities.
Note: See TracChangeset for help on using the changeset viewer.