From 56d204074b80ed88d618756a76dcd0030be5c9b2 Mon Sep 17 00:00:00 2001 From: John Clause Date: Thu, 4 Jun 2015 22:32:17 -0600 Subject: [PATCH] better handling of option "Compatibility Function" on first activation --- admin/qtx_activation_hook.php | 1 + readme.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/qtx_activation_hook.php b/admin/qtx_activation_hook.php index df300df..5a83550 100644 --- a/admin/qtx_activation_hook.php +++ b/admin/qtx_activation_hook.php @@ -469,6 +469,7 @@ function qtranxf_activation_hook() } + // @since 3.3.7 if($check_qtranslate_forks){ // possibly first install after a fork if( get_option('qtranslate_qtrans_compatibility') === false ){ //to prevent most of fatal errors on upgrade diff --git a/readme.txt b/readme.txt index a577736..43d6875 100644 --- a/readme.txt +++ b/readme.txt @@ -104,9 +104,10 @@ Developers: please drop new topics here, the text will be moved to [qTranslate-X ### 3.3.7 ### * Feature: finalizing [Integration Framework](https://qtranslatexteam.wordpress.com/integration/). +* Feature: swirly-bracket(brace) language encoding added to be used in places where square-bracket and comment encoding do not work. '[:]' sometimes conflict with shortcodes. '' does not survive tag clean up. '{:}'(swirly-bracket) seems to survive all. * Enhancement: 'plugins' vs 'mu-plugins', links of sub-folders, etc. [Issue #168](https://github.com/qTranslate-Team/qtranslate-x/pull/168). * Enhancement: gettext filters in raw and single language modes. -* Feature: swirly-bracket(brace) language encoding added to be used in places where square-bracket and comment encoding do not work. '[:]' sometimes conflict with shortcodes. '' does not survive tag clean up. '{:}'(swirly-bracket) seems to survive all. +* Enhancement: turn on 'Compatibility Functions' on first activation, if a file of one of the former forks is detected. * Fix: handling non-standard language code: [Issue #171](https://github.com/qTranslate-Team/qtranslate-x/issues/171). * Fix: 'Head inline CSS' update on language list changes. * Fix: pagination of posts under Query Mode of URL Modification (filter 'qtranxf_convertBlogInfoURL'): [Issue #155](https://github.com/qTranslate-Team/qtranslate-x/issues/155). Filters 'home_url' and 'bloginfo_url' are disabled in Query mode.