Changeset 3333369
- Timestamp:
- 07/24/2025 08:36:16 AM (8 months ago)
- Location:
- translatepress-multilingual
- Files:
-
- 12 edited
- 1 copied
-
tags/2.9.22 (copied) (copied from translatepress-multilingual/trunk)
-
tags/2.9.22/class-translate-press.php (modified) (1 diff)
-
tags/2.9.22/includes/class-edd-sl-plugin-updater.php (modified) (3 diffs)
-
tags/2.9.22/includes/class-machine-translator.php (modified) (1 diff)
-
tags/2.9.22/index.php (modified) (2 diffs)
-
tags/2.9.22/languages/translatepress-multilingual.pot (modified) (1 diff)
-
tags/2.9.22/readme.txt (modified) (2 diffs)
-
trunk/class-translate-press.php (modified) (1 diff)
-
trunk/includes/class-edd-sl-plugin-updater.php (modified) (3 diffs)
-
trunk/includes/class-machine-translator.php (modified) (1 diff)
-
trunk/index.php (modified) (2 diffs)
-
trunk/languages/translatepress-multilingual.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
translatepress-multilingual/tags/2.9.22/class-translate-press.php
r3332983 r3333369 70 70 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 71 71 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 72 define( 'TRP_PLUGIN_VERSION', '2.9.2 1' );72 define( 'TRP_PLUGIN_VERSION', '2.9.22' ); 73 73 74 74 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/tags/2.9.22/includes/class-edd-sl-plugin-updater.php
r3328103 r3333369 822 822 if ( ! empty( $message ) ) { 823 823 $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() ); 825 825 826 826 wp_redirect( $redirect ); … … 832 832 $this->update_option( 'trp_license_status', $license_data->license ); 833 833 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() ) ); 835 835 exit(); 836 836 } … … 876 876 } 877 877 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() ); 879 879 wp_redirect( $redirect ); 880 880 exit(); -
translatepress-multilingual/tags/2.9.22/includes/class-machine-translator.php
r3332983 r3333369 355 355 return array(); 356 356 } 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); 361 360 362 361 $machine_strings_return_array = array(); -
translatepress-multilingual/tags/2.9.22/index.php
r3332983 r3333369 4 4 Plugin URI: https://translatepress.com/ 5 5 Description: 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.2 16 Version: 2.9.22 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ … … 11 11 License: GPL2 12 12 WC requires at least: 2.5.0 13 WC tested up to: 10.0. 313 WC tested up to: 10.0.4 14 14 15 15 == Copyright == -
translatepress-multilingual/tags/2.9.22/languages/translatepress-multilingual.pot
r3332983 r3333369 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2025-07-2 3 13:50+0000\n"9 "POT-Creation-Date: 2025-07-24 08:29+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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 6 6 Tested up to: 6.8.2 7 7 Requires PHP: 5.6.20 8 Stable tag: 2.9.2 18 Stable tag: 2.9.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 142 142 143 143 == 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 144 148 = 2.9.21 = 145 149 * Added shortcodes [language-exclude] and [language-include] that allow content restricted in specific languages -
translatepress-multilingual/trunk/class-translate-press.php
r3332983 r3333369 70 70 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 71 71 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 72 define( 'TRP_PLUGIN_VERSION', '2.9.2 1' );72 define( 'TRP_PLUGIN_VERSION', '2.9.22' ); 73 73 74 74 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/trunk/includes/class-edd-sl-plugin-updater.php
r3328103 r3333369 822 822 if ( ! empty( $message ) ) { 823 823 $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() ); 825 825 826 826 wp_redirect( $redirect ); … … 832 832 $this->update_option( 'trp_license_status', $license_data->license ); 833 833 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() ) ); 835 835 exit(); 836 836 } … … 876 876 } 877 877 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() ); 879 879 wp_redirect( $redirect ); 880 880 exit(); -
translatepress-multilingual/trunk/includes/class-machine-translator.php
r3332983 r3333369 355 355 return array(); 356 356 } 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); 361 360 362 361 $machine_strings_return_array = array(); -
translatepress-multilingual/trunk/index.php
r3332983 r3333369 4 4 Plugin URI: https://translatepress.com/ 5 5 Description: 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.2 16 Version: 2.9.22 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ … … 11 11 License: GPL2 12 12 WC requires at least: 2.5.0 13 WC tested up to: 10.0. 313 WC tested up to: 10.0.4 14 14 15 15 == Copyright == -
translatepress-multilingual/trunk/languages/translatepress-multilingual.pot
r3332983 r3333369 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2025-07-2 3 13:50+0000\n"9 "POT-Creation-Date: 2025-07-24 08:29+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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 6 6 Tested up to: 6.8.2 7 7 Requires PHP: 5.6.20 8 Stable tag: 2.9.2 18 Stable tag: 2.9.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 142 142 143 143 == 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 144 148 = 2.9.21 = 145 149 * Added shortcodes [language-exclude] and [language-include] that allow content restricted in specific languages
Note: See TracChangeset
for help on using the changeset viewer.