Plugin Directory

Changeset 3333369


Ignore:
Timestamp:
07/24/2025 08:36:16 AM (8 months ago)
Author:
razvan.mo
Message:

tagging version 2.9.22

Location:
translatepress-multilingual
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • translatepress-multilingual/tags/2.9.22/class-translate-press.php

    r3332983 r3333369  
    7070        define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) );
    7171        define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
    72         define( 'TRP_PLUGIN_VERSION', '2.9.21' );
     72        define( 'TRP_PLUGIN_VERSION', '2.9.22' );
    7373
    7474        wp_cache_add_non_persistent_groups(array('trp'));
  • translatepress-multilingual/tags/2.9.22/includes/class-edd-sl-plugin-updater.php

    r3328103 r3333369  
    822822            if ( ! empty( $message ) ) {
    823823                $message = implode( "<br/>", array_unique($message) );//if we got the same message for multiple addons show just one, and add a br in case we show multiple messages
    824                 $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) );
     824                $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message') ), $this->license_page_url() );
    825825
    826826                wp_redirect( $redirect );
     
    832832            $this->update_option( 'trp_license_status', $license_data->license );
    833833
    834             wp_redirect( add_query_arg( array( 'trp_sl_activation' => 'true', 'message' => urlencode( __( 'You have successfully activated your license', 'translatepress-multilingual' ) ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) ) );
     834            wp_redirect( add_query_arg( array( 'trp_sl_activation' => 'true', 'message' => urlencode( __( 'You have successfully activated your license', 'translatepress-multilingual' ) ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message')), $this->license_page_url() ) );
    835835            exit();
    836836        }
     
    876876                        }
    877877
    878                         $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) );
     878                        $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message') ), $this->license_page_url() );
    879879                        wp_redirect( $redirect );
    880880                        exit();
  • translatepress-multilingual/tags/2.9.22/includes/class-machine-translator.php

    r3332983 r3333369  
    355355                    return array();
    356356                }
    357 
    358                 $machine_strings = $this->translate_array($strings, $target_language_code, $source_language_code);
    359 
    360             }
     357            }
     358
     359            $machine_strings = $this->translate_array($strings, $target_language_code, $source_language_code);
    361360
    362361            $machine_strings_return_array = array();
  • translatepress-multilingual/tags/2.9.22/index.php

    r3332983 r3333369  
    44Plugin URI: https://translatepress.com/
    55Description: Experience a better way of translating your WordPress site using a visual front-end translation editor, with full support for WooCommerce and site builders.
    6 Version: 2.9.21
     6Version: 2.9.22
    77Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
    88Author URI: https://cozmoslabs.com/
     
    1111License: GPL2
    1212WC requires at least: 2.5.0
    13 WC tested up to: 10.0.3
     13WC tested up to: 10.0.4
    1414
    1515== Copyright ==
  • translatepress-multilingual/tags/2.9.22/languages/translatepress-multilingual.pot

    r3332983 r3333369  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2025-07-23 13:50+0000\n"
     9"POT-Creation-Date: 2025-07-24 08:29+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
  • translatepress-multilingual/tags/2.9.22/readme.txt

    r3332983 r3333369  
    66Tested up to: 6.8.2
    77Requires PHP: 5.6.20
    8 Stable tag: 2.9.21
     8Stable tag: 2.9.22
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142
    143143== Changelog ==
     144= 2.9.22 =
     145* Fixed bug introduced in previous version blocking automatic translation through TP AI and Google Translate
     146* Fixed license activation message not appearing on certain setups
     147
    144148= 2.9.21 =
    145149* Added shortcodes [language-exclude] and [language-include] that allow content restricted in specific languages
  • translatepress-multilingual/trunk/class-translate-press.php

    r3332983 r3333369  
    7070        define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) );
    7171        define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
    72         define( 'TRP_PLUGIN_VERSION', '2.9.21' );
     72        define( 'TRP_PLUGIN_VERSION', '2.9.22' );
    7373
    7474        wp_cache_add_non_persistent_groups(array('trp'));
  • translatepress-multilingual/trunk/includes/class-edd-sl-plugin-updater.php

    r3328103 r3333369  
    822822            if ( ! empty( $message ) ) {
    823823                $message = implode( "<br/>", array_unique($message) );//if we got the same message for multiple addons show just one, and add a br in case we show multiple messages
    824                 $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) );
     824                $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message') ), $this->license_page_url() );
    825825
    826826                wp_redirect( $redirect );
     
    832832            $this->update_option( 'trp_license_status', $license_data->license );
    833833
    834             wp_redirect( add_query_arg( array( 'trp_sl_activation' => 'true', 'message' => urlencode( __( 'You have successfully activated your license', 'translatepress-multilingual' ) ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) ) );
     834            wp_redirect( add_query_arg( array( 'trp_sl_activation' => 'true', 'message' => urlencode( __( 'You have successfully activated your license', 'translatepress-multilingual' ) ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message')), $this->license_page_url() ) );
    835835            exit();
    836836        }
     
    876876                        }
    877877
    878                         $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ) ), wp_nonce_url( $this->license_page_url(), 'trp_license_display_message', 'trp_license_nonce' ) );
     878                        $redirect = add_query_arg( array( 'trp_sl_activation' => 'false', 'message' => urlencode( $message ), 'trp_license_nonce' => wp_create_nonce('trp_license_display_message') ), $this->license_page_url() );
    879879                        wp_redirect( $redirect );
    880880                        exit();
  • translatepress-multilingual/trunk/includes/class-machine-translator.php

    r3332983 r3333369  
    355355                    return array();
    356356                }
    357 
    358                 $machine_strings = $this->translate_array($strings, $target_language_code, $source_language_code);
    359 
    360             }
     357            }
     358
     359            $machine_strings = $this->translate_array($strings, $target_language_code, $source_language_code);
    361360
    362361            $machine_strings_return_array = array();
  • translatepress-multilingual/trunk/index.php

    r3332983 r3333369  
    44Plugin URI: https://translatepress.com/
    55Description: Experience a better way of translating your WordPress site using a visual front-end translation editor, with full support for WooCommerce and site builders.
    6 Version: 2.9.21
     6Version: 2.9.22
    77Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
    88Author URI: https://cozmoslabs.com/
     
    1111License: GPL2
    1212WC requires at least: 2.5.0
    13 WC tested up to: 10.0.3
     13WC tested up to: 10.0.4
    1414
    1515== Copyright ==
  • translatepress-multilingual/trunk/languages/translatepress-multilingual.pot

    r3332983 r3333369  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2025-07-23 13:50+0000\n"
     9"POT-Creation-Date: 2025-07-24 08:29+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
  • translatepress-multilingual/trunk/readme.txt

    r3332983 r3333369  
    66Tested up to: 6.8.2
    77Requires PHP: 5.6.20
    8 Stable tag: 2.9.21
     8Stable tag: 2.9.22
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    142142
    143143== Changelog ==
     144= 2.9.22 =
     145* Fixed bug introduced in previous version blocking automatic translation through TP AI and Google Translate
     146* Fixed license activation message not appearing on certain setups
     147
    144148= 2.9.21 =
    145149* Added shortcodes [language-exclude] and [language-include] that allow content restricted in specific languages
Note: See TracChangeset for help on using the changeset viewer.