diff --git a/admin/qtx_languages.php b/admin/qtx_languages.php index af50854..daa6467 100644 --- a/admin/qtx_languages.php +++ b/admin/qtx_languages.php @@ -65,7 +65,7 @@ function qtranxf_update_config_header_css() { $q_config['header_css'] = qtranxf_front_header_css_default(); } if(!$q_config['header_css_on'] || !empty($header_css)){ - qtranxf_add_warning(sprintf(__('A manual update to option "%s" or to the theme custom CSS may be needed, after some languages are changed.', 'qtranslate'), __('Head inline CSS', 'qtranslate'))); + qtranxf_add_warning(sprintf(__('A manual update to option "%s" or to the theme custom CSS may be needed, after some languages are changed.', 'qtranslate'), __('Head inline CSS', 'qtranslate')).' '.__('If you do not wish to customize this option, then reset it to the default by emptying its value.', 'qtranslate')); } } diff --git a/admin/qtx_update_gettext_db.php b/admin/qtx_update_gettext_db.php index d310261..27f4a46 100644 --- a/admin/qtx_update_gettext_db.php +++ b/admin/qtx_update_gettext_db.php @@ -30,7 +30,7 @@ function qtranxf_updateGettextDatabasesEx($force = false, $only_for_language = ' $result = translations_api( 'core', array( 'version' => $wp_version )); if ( is_wp_error( $result ) ){ - qtranxf_add_error(__( 'Gettext databases not updated:', 'qtranslate' ) . ' ' . $result->get_error_message()); + qtranxf_add_warning(__( 'Gettext databases not updated:', 'qtranslate' ) . ' ' . $result->get_error_message()); return false; } @@ -55,7 +55,7 @@ function qtranxf_updateGettextDatabasesEx($force = false, $only_for_language = ' $result = $upgrader->upgrade( $translation, array( 'clear_update_cache' => false )); if ( is_wp_error( $result ) ){ - qtranxf_add_error(sprintf(__( 'Failed to update gettext database for "%s": %s', 'qtranslate' ), $q_config['language_name'][$lang], $result->get_error_message())); + qtranxf_add_warning(sprintf(__( 'Failed to update gettext database for "%s": %s', 'qtranslate' ), $q_config['language_name'][$lang], $result->get_error_message())); ++$errcnt; } } diff --git a/qtranslate.php b/qtranslate.php index 6d817b3..6f558e7 100644 --- a/qtranslate.php +++ b/qtranslate.php @@ -3,7 +3,7 @@ Plugin Name: qTranslate-X Plugin URI: http://wordpress.org/plugins/qtranslate-x/ Description: Adds user-friendly and database-friendly multilingual content support. -Version: 3.4.6 +Version: 3.4.5 Author: qTranslate Team Author URI: http://qtranslatexteam.wordpress.com/about Tags: multilingual, multi, language, admin, tinymce, Polyglot, bilingual, widget, switcher, professional, human, translation, service, qTranslate, zTranslate, mqTranslate, qTranslate Plus, WPML @@ -118,7 +118,7 @@ * Designed as interface for other plugin integration. The documentation is available at * https://qtranslatexteam.wordpress.com/integration/ */ -define('QTX_VERSION','3.4.4'); +define('QTX_VERSION','3.4.5'); if ( ! defined( 'QTRANSLATE_FILE' ) ) { define( 'QTRANSLATE_FILE', __FILE__ ); diff --git a/readme.txt b/readme.txt index d4a08b8..03225fb 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: johnclause, chineseleper, Vavooon, grafcom Tags: multilingual, language, admin, tinymce, bilingual, widget, switcher, i18n, l10n, multilanguage, translation Requires at least: 3.9 Tested up to: 4.3 -Stable tag: 3.4.6 +Stable tag: 3.4.5 License: GPLv3 or later Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QEXEK3HX8AR6U License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -100,6 +100,11 @@ Read [migration instructions](https://qtranslatexteam.wordpress.com/migration/ " ## Changelog ## +### 3.4.5 stable ### +* Enhancement: [Handle the CSRF vulnerability](https://github.com/qTranslate-Team/qtranslate-x/pull/230). +* Fix: Enable a language when gettext database fails to update on a private server: [Issue #236](https://github.com/qTranslate-Team/qtranslate-x/issues/236). + + ### 3.4.4 stable ### * Fix: link 'View Page': [WP Topic](https://wordpress.org/support/topic/wpadminbar-view-page-returns-to-home-page). * Fix: security exploit found by WordPress for vulnerable parameters `json_config_files` and `json_custom_i18n_config`.