ACF qTranslate - Version 1.7.22

Version Description

  • Bug Fix: Prevent LSBs from loading on all pages by default
Download this release

Release Info

Developer funkjedi
Plugin Icon wp plugin ACF qTranslate
Version 1.7.22
Comparing to
See all releases

Code changes from version 1.7.21 to 1.7.22

Files changed (3) hide show
  1. acf-qtranslate.php +1 -1
  2. readme.txt +5 -2
  3. src/plugin.php +4 -1
acf-qtranslate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced Custom Fields: qTranslate
4
  Plugin URI: http://github.com/funkjedi/acf-qtranslate
5
  Description: Provides multilingual versions of the text, text area, and wysiwyg fields.
6
- Version: 1.7.21
7
  Author: funkjedi
8
  Author URI: http://funkjedi.com
9
  License: GPLv2 or later
3
  Plugin Name: Advanced Custom Fields: qTranslate
4
  Plugin URI: http://github.com/funkjedi/acf-qtranslate
5
  Description: Provides multilingual versions of the text, text area, and wysiwyg fields.
6
+ Version: 1.7.22
7
  Author: funkjedi
8
  Author URI: http://funkjedi.com
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: funkjedi
3
  Tags: acf, advanced custom fields, qtranslate, add-on, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.7.2
6
- Version: 1.7.21
7
- Stable tag: 1.7.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -54,6 +54,9 @@ The plugin is based on code samples posted to the ACF support forums by taeo bac
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.7.21 =
58
  * Bug Fix: Make compatible with older versions of ACF5 by checking for `acf_connect_attachment_to_post`
59
 
3
  Tags: acf, advanced custom fields, qtranslate, add-on, admin
4
  Requires at least: 3.5.0
5
  Tested up to: 4.7.2
6
+ Version: 1.7.22
7
+ Stable tag: 1.7.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.7.22 =
58
+ * Bug Fix: Prevent LSBs from loading on all pages by default
59
+
60
  = 1.7.21 =
61
  * Bug Fix: Make compatible with older versions of ACF5 by checking for `acf_connect_attachment_to_post`
62
 
src/plugin.php CHANGED
@@ -146,7 +146,10 @@ class acf_qtranslate_plugin {
146
  );
147
 
148
  foreach (explode("\n", $this->get_plugin_setting('show_on_pages')) as $page) {
149
- $pages[$page] = '';
 
 
 
150
  }
151
 
152
  $config['acf-display-nodes'] = array(
146
  );
147
 
148
  foreach (explode("\n", $this->get_plugin_setting('show_on_pages')) as $page) {
149
+ $page = trim($page);
150
+ if ($page) {
151
+ $pages[$page] = '';
152
+ }
153
  }
154
 
155
  $config['acf-display-nodes'] = array(