WPGlobus – Multilingual Everything! - Version 2.5.23

Version Description

  • (Vendor/Yoast) Fixed filter for the post title when post meta is empty.
Download this release

Release Info

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

Code changes from version 2.5.22 to 2.5.23

includes/vendor/yoast-seo/class-wpglobus-yoastseo140.php CHANGED
@@ -527,6 +527,16 @@ class WPGlobus_YoastSEO {
527
  */
528
  $title = wpseo_replace_vars( $title, $presentation->source );
529
  }
 
 
 
 
 
 
 
 
 
 
530
  }
531
 
532
  } elseif ( 'term' == $presentation->model->object_type ) {
@@ -1513,6 +1523,16 @@ class WPGlobus_YoastSEO {
1513
  */
1514
  $title = wpseo_replace_vars( $__title, $presentation->source );
1515
  }
 
 
 
 
 
 
 
 
 
 
1516
  }
1517
 
1518
  } elseif ( 'term' == $presentation->model->object_type ) {
527
  */
528
  $title = wpseo_replace_vars( $title, $presentation->source );
529
  }
530
+
531
+ } else {
532
+
533
+ /**
534
+ * @since 2.5.23
535
+ */
536
+ if ( WPGlobus_Core::has_translations( $title ) ) {
537
+ $title = WPGlobus_Core::extract_text( $title, WPGlobus::Config()->language );
538
+ }
539
+
540
  }
541
 
542
  } elseif ( 'term' == $presentation->model->object_type ) {
1523
  */
1524
  $title = wpseo_replace_vars( $__title, $presentation->source );
1525
  }
1526
+
1527
+ } else {
1528
+
1529
+ /**
1530
+ * @since 2.5.23
1531
+ */
1532
+ if ( WPGlobus_Core::has_translations( $title ) ) {
1533
+ $title = WPGlobus_Core::extract_text( $title, WPGlobus::Config()->language );
1534
+ }
1535
+
1536
  }
1537
 
1538
  } elseif ( 'term' == $presentation->model->object_type ) {
languages/wpglobus.pot CHANGED
@@ -1,8 +1,8 @@
1
- # Copyright (C) 2020 WPGlobus 2.5.22
2
- # This file is distributed under the same license as the WPGlobus 2.5.22 package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPGlobus 2.5.22\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.5.23
2
+ # This file is distributed under the same license as the WPGlobus 2.5.23 package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPGlobus 2.5.23\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
@@ -3,7 +3,7 @@ Contributors: tivnetinc, alexgff, tivnet
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLF8M4YNZHNQN
4
  Tags: WPGlobus, localization, multilanguage, multilingual, translate
5
  Requires at least: 5.5
6
- Tested up to: 5.5
7
  Requires PHP: 5.6
8
  Stable tag: trunk
9
  License: GPL-3.0-or-later
@@ -217,6 +217,9 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
217
 
218
  == Changelog ==
219
 
 
 
 
220
  = 2.5.22 =
221
 
222
  * (Vendor/Yoast) Added filters for the taxonomy title, description, Open Graph title and description.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLF8M4YNZHNQN
4
  Tags: WPGlobus, localization, multilanguage, multilingual, translate
5
  Requires at least: 5.5
6
+ Tested up to: 5.6
7
  Requires PHP: 5.6
8
  Stable tag: trunk
9
  License: GPL-3.0-or-later
217
 
218
  == Changelog ==
219
 
220
+ = 2.5.23 =
221
+ * (Vendor/Yoast) Fixed filter for the post title when post meta is empty.
222
+
223
  = 2.5.22 =
224
 
225
  * (Vendor/Yoast) Added filters for the taxonomy title, description, Open Graph title and description.
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.5.22
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) {
44
  exit;
45
  }
46
 
47
- define( 'WPGLOBUS_VERSION', '2.5.22' );
48
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
49
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
50
 
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.5.23
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
44
  exit;
45
  }
46
 
47
+ define( 'WPGLOBUS_VERSION', '2.5.23' );
48
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
49
  define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
50