WPGlobus – Multilingual Everything! - Version 2.4.16

Version Description

  • (Integration) The Advanced Post List plugin is now supported.
Download this release

Release Info

Developer tivnet
Plugin Icon 128x128 WPGlobus – Multilingual Everything!
Version 2.4.16
Comparing to
See all releases

Code changes from version 2.4.15 to 2.4.16

includes/class-wpglobus-filters.php CHANGED
@@ -33,6 +33,24 @@ class WPGlobus_Filters {
33
 
34
  }
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  /**
37
  * This filter is needed to display correctly the posts with the '--- MORE ---' separator
38
  * in archives.
@@ -1265,3 +1283,5 @@ class WPGlobus_Filters {
1265
  }
1266
 
1267
  }
 
 
33
 
34
  }
35
 
36
+ /**
37
+ * This is the alternate filter used to extract the text portion in the current language from a string.
38
+ *
39
+ * @since 2.4.16
40
+ *
41
+ * @param string $text
42
+ *
43
+ * @return string
44
+ */
45
+ public static function filter__extract_text( $text ) {
46
+
47
+ return WPGlobus_Core::extract_text(
48
+ $text,
49
+ WPGlobus::Config()->language
50
+ );
51
+
52
+ }
53
+
54
  /**
55
  * This filter is needed to display correctly the posts with the '--- MORE ---' separator
56
  * in archives.
1283
  }
1284
 
1285
  }
1286
+
1287
+ # --- EOF
includes/wpglobus-controller.php CHANGED
@@ -529,4 +529,22 @@ if ( defined('RANK_MATH_VERSION') ) {
529
  }
530
  }
531
 
532
- /*EOF*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  }
530
  }
531
 
532
+ if ( defined('APL_VERSION') ) {
533
+
534
+ /**
535
+ * Advanced Post List.
536
+ * https://wordpress.org/plugins/advanced-post-list/
537
+ *
538
+ * @since 2.4.16
539
+ */
540
+ if ( ! is_admin() ) {
541
+ /**
542
+ * @see advanced-post-list\class-apl-core.php
543
+ */
544
+ add_filter( 'apl_core_loop_before', array( 'WPGlobus_Filters', 'filter__extract_text' ), 2 );
545
+ add_filter( 'apl_core_loop_after_content', array( 'WPGlobus_Filters', 'filter__extract_text' ), 2 );
546
+ add_filter( 'apl_core_loop_after', array( 'WPGlobus_Filters', 'filter__extract_text' ), 2 );
547
+ }
548
+ }
549
+
550
+ # --- EOF
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2020 WPGlobus 2.4.15
2
- # This file is distributed under the same license as the WPGlobus 2.4.15 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.4.15\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
1
+ # Copyright (C) 2020 WPGlobus 2.4.16
2
+ # This file is distributed under the same license as the WPGlobus 2.4.16 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.4.16\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -91,6 +91,7 @@ For more details, please check out the descriptions of each paid add-on on our w
91
  We have checked WPGlobus together with many plugins, including:
92
 
93
  * ACF - Advanced Custom Fields. [WPGlobus Plus](https://wpglobus.com/product/wpglobus-plus/) premium add-on is required for WYSIWYG fields support,
 
94
  * All in One SEO Pack,
95
  * WordPress SEO Plugin – Rank Math,
96
  * Black Studio TinyMCE Widget (with our free add-on),
@@ -216,6 +217,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
216
 
217
  == Changelog ==
218
 
 
 
 
 
219
  = 2.4.15 =
220
 
221
  * (Core/Options) Options Panel: CSS tweaks.
91
  We have checked WPGlobus together with many plugins, including:
92
 
93
  * ACF - Advanced Custom Fields. [WPGlobus Plus](https://wpglobus.com/product/wpglobus-plus/) premium add-on is required for WYSIWYG fields support,
94
+ * Advanced Post List,
95
  * All in One SEO Pack,
96
  * WordPress SEO Plugin – Rank Math,
97
  * Black Studio TinyMCE Widget (with our free add-on),
217
 
218
  == Changelog ==
219
 
220
+ = 2.4.16 =
221
+
222
+ * (Integration) The [Advanced Post List](https://wordpress.org/plugins/advanced-post-list/) plugin is now supported.
223
+
224
  = 2.4.15 =
225
 
226
  * (Core/Options) Options Panel: CSS tweaks.
wpglobus.php CHANGED
@@ -15,7 +15,7 @@
15
  * Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
16
  * Text Domain: wpglobus
17
  * Domain Path: /languages/
18
- * Version: 2.4.15
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
42
  exit;
43
  }
44
 
45
- define( 'WPGLOBUS_VERSION', '2.4.15' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
48
 
15
  * Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
16
  * Text Domain: wpglobus
17
  * Domain Path: /languages/
18
+ * Version: 2.4.16
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.4.16' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
48