Version Description
- (Vendor/Yoast) Fixed issue with the breadcrumbs title (generated from the taxonomy title) in the
Schema Presenter
. - (Core/Post Types) Added the
elementor_snippet
post type to the"hidden types"
list.
Download this release
Release Info
Developer | tivnet |
Plugin | WPGlobus – Multilingual Everything! |
Version | 2.7.11 |
Comparing to | |
See all releases |
Code changes from version 2.7.10 to 2.7.11
- includes/class-wpglobus-post-types.php +1 -0
- includes/vendor/yoast-seo/class-wpglobus-yoastseo140.php +14 -5
- languages/wpglobus.pot +3 -3
- readme.txt +4 -7
- wpglobus.php +2 -2
includes/class-wpglobus-post-types.php
CHANGED
@@ -69,6 +69,7 @@ class WPGlobus_Post_Types {
|
|
69 |
// Elementor Pro: @since 2.3.1
|
70 |
'elementor_font',
|
71 |
'elementor_icons',
|
|
|
72 |
// WPForms Lite: https://wordpress.org/plugins/wpforms-lite/ @since 2.3.6
|
73 |
'wpforms',
|
74 |
'wpforms_log',
|
69 |
// Elementor Pro: @since 2.3.1
|
70 |
'elementor_font',
|
71 |
'elementor_icons',
|
72 |
+
'elementor_snippet', // @since 2.7.11
|
73 |
// WPForms Lite: https://wordpress.org/plugins/wpforms-lite/ @since 2.3.6
|
74 |
'wpforms',
|
75 |
'wpforms_log',
|
includes/vendor/yoast-seo/class-wpglobus-yoastseo140.php
CHANGED
@@ -1571,7 +1571,8 @@ class WPGlobus_YoastSEO {
|
|
1571 |
*
|
1572 |
* @since 2.4.14
|
1573 |
* @since 2.4.15 Localize description.
|
1574 |
-
* @since 2.5.1
|
|
|
1575 |
*
|
1576 |
* @scope front
|
1577 |
* @param array $graph_piece Array of graph piece.
|
@@ -1593,8 +1594,8 @@ class WPGlobus_YoastSEO {
|
|
1593 |
$graph_piece['description'] = WPGlobus_Core::extract_text( $graph_piece['description'], WPGlobus::Config()->language );
|
1594 |
}
|
1595 |
|
1596 |
-
}
|
1597 |
-
|
1598 |
/**
|
1599 |
* Taxonomy.
|
1600 |
* @since 2.5.1
|
@@ -1603,8 +1604,16 @@ class WPGlobus_YoastSEO {
|
|
1603 |
$graph_piece['url'] = WPGlobus_Utils::localize_url( $graph_piece['url'], WPGlobus::Config()->language );
|
1604 |
$graph_piece['@id'] = WPGlobus_Utils::localize_url( $graph_piece['@id'], WPGlobus::Config()->language );
|
1605 |
$graph_piece['breadcrumb']['@id'] = WPGlobus_Utils::localize_url( $graph_piece['breadcrumb']['@id'], WPGlobus::Config()->language );
|
1606 |
-
|
1607 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
|
1609 |
/**
|
1610 |
* When homepage displays latest post.
|
1571 |
*
|
1572 |
* @since 2.4.14
|
1573 |
* @since 2.4.15 Localize description.
|
1574 |
+
* @since 2.5.1 Added support of taxonomies.
|
1575 |
+
* @since 2.7.11 Added filter for breadcrumb title.
|
1576 |
*
|
1577 |
* @scope front
|
1578 |
* @param array $graph_piece Array of graph piece.
|
1594 |
$graph_piece['description'] = WPGlobus_Core::extract_text( $graph_piece['description'], WPGlobus::Config()->language );
|
1595 |
}
|
1596 |
|
1597 |
+
} else if ( 'term' == $context->indexable->object_type ) {
|
1598 |
+
|
1599 |
/**
|
1600 |
* Taxonomy.
|
1601 |
* @since 2.5.1
|
1604 |
$graph_piece['url'] = WPGlobus_Utils::localize_url( $graph_piece['url'], WPGlobus::Config()->language );
|
1605 |
$graph_piece['@id'] = WPGlobus_Utils::localize_url( $graph_piece['@id'], WPGlobus::Config()->language );
|
1606 |
$graph_piece['breadcrumb']['@id'] = WPGlobus_Utils::localize_url( $graph_piece['breadcrumb']['@id'], WPGlobus::Config()->language );
|
1607 |
+
|
1608 |
+
/**
|
1609 |
+
* Filter breadcrumb title.
|
1610 |
+
* @since 2.7.11
|
1611 |
+
*/
|
1612 |
+
if ( WPGlobus_Core::has_translations($context->indexable->breadcrumb_title) ) {
|
1613 |
+
$context->indexable->breadcrumb_title = WPGlobus_Core::extract_text( $context->indexable->breadcrumb_title, WPGlobus::Config()->language );
|
1614 |
+
}
|
1615 |
+
|
1616 |
+
} else if ( 'home-page' == $context->indexable->object_type ) {
|
1617 |
|
1618 |
/**
|
1619 |
* When homepage displays latest post.
|
languages/wpglobus.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
# Copyright (C) 2021 WPGlobus 2.7.
|
2 |
-
# This file is distributed under the same license as the WPGlobus 2.7.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WPGlobus 2.7.
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
1 |
+
# Copyright (C) 2021 WPGlobus 2.7.11
|
2 |
+
# This file is distributed under the same license as the WPGlobus 2.7.11 package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WPGlobus 2.7.11\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
@@ -220,6 +220,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
220 |
|
221 |
== Changelog ==
|
222 |
|
|
|
|
|
|
|
|
|
223 |
= 2.7.10 =
|
224 |
* (Vendor/Yoast) Fixed an issue with using variables in post descriptions.
|
225 |
|
@@ -236,13 +240,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
236 |
* (Vendor/Yoast) Added filter for `wpseo_titles` option.
|
237 |
* (Core/Post Types) Added the `WP MyLinks`, `Ninja Forms` plugins post types to the `"hidden types"` list.
|
238 |
|
239 |
-
= 2.7.6 =
|
240 |
-
* (Vendor/ACF) Updated doc.
|
241 |
-
* (Vendor/ACF) Added init param for WPGlobus_Vendor_Acf class.
|
242 |
-
* (Vendor/ACF) Added `translatableClass` key in localizing script.
|
243 |
-
* (Vendor/ACF) Set `translatableClass` for elements in Builder mode.
|
244 |
-
* (Vendor/ACF) Perform a global search and replace in JS.
|
245 |
-
|
246 |
= Earlier versions and Add-ons =
|
247 |
|
248 |
* [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
|
220 |
|
221 |
== Changelog ==
|
222 |
|
223 |
+
= 2.7.11 =
|
224 |
+
* (Vendor/Yoast) Fixed issue with the breadcrumbs title (generated from the taxonomy title) in the `Schema Presenter`.
|
225 |
+
* (Core/Post Types) Added the `elementor_snippet` post type to the `"hidden types"` list.
|
226 |
+
|
227 |
= 2.7.10 =
|
228 |
* (Vendor/Yoast) Fixed an issue with using variables in post descriptions.
|
229 |
|
240 |
* (Vendor/Yoast) Added filter for `wpseo_titles` option.
|
241 |
* (Core/Post Types) Added the `WP MyLinks`, `Ninja Forms` plugins post types to the `"hidden types"` list.
|
242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
= Earlier versions and Add-ons =
|
244 |
|
245 |
* [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
|
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.7.
|
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.7.
|
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.7.11
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
+
define( 'WPGLOBUS_VERSION', '2.7.11' );
|
48 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
49 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
50 |
|