Skip to content

Commit

Permalink
fix for newly added menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
johnclause committed Apr 23, 2016
1 parent 8ea1f91 commit ba43331
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions admin/qtx_admin_utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,9 @@ function qtranxf_admin_category_description($text) {
add_filter('category_description', 'qtranxf_admin_category_description',0);

function qtranxf_admin_the_title($title) {
//todo this filter should not be used in admin area at all?
if(defined('DOING_AJAX') && DOING_AJAX)//nav-menus.php#752
return $title;
global $pagenow;
switch($pagenow){
//case 'term.php':
Expand Down
4 changes: 2 additions & 2 deletions qtranslate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.5
Version: 3.4.6.6
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
Expand Down Expand Up @@ -121,7 +121,7 @@
* Designed as interface for other plugin integration. The documentation is available at
* https://qtranslatexteam.wordpress.com/integration/
*/
define('QTX_VERSION','3.4.6.5');
define('QTX_VERSION','3.4.6.6');

if ( ! defined( 'QTRANSLATE_FILE' ) ) {
define( 'QTRANSLATE_FILE', __FILE__ );
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ This version recovers translation of parent of a category on category edit page.

## Changelog ##

### 3.4.6.6 ###
* Fix: WP45, '/wp-admin/nav-menus.php': title of newly added menu item kept one language only.

### 3.4.6.5 ###
* Improvement: Option 'Show language names in "Camel Case"' has been added on Settings/Languages page `/wp-admin/options-general.php?page=qtranslate-x#general` in order to handle absence of function `mb_convert_case`, as PHP module `mbstring` may not be installed by default: [WP Topic](https://wordpress.org/support/topic/qtranslate_utilsphp-on-line-504).
* Enhancement: added preset for Welsh (Cymraeg, 'cy') language.
Expand Down

0 comments on commit ba43331

Please sign in to comment.