Version Description
- (Vendor/Yoast) Added filter for
wpseo_titles
option. - (Core/Post Types) Added the
WP MyLinks
,Ninja Forms
plugins post types to the"hidden types"
list.
Download this release
Release Info
Developer | tivnet |
Plugin | WPGlobus – Multilingual Everything! |
Version | 2.7.7 |
Comparing to | |
See all releases |
Code changes from version 2.7.6 to 2.7.7
data/wpglobus-product-info.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"2.0.0","_api_tested_up_to":"5.6"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.4.0","_api_tested_up_to":"5.5"},"wpglobus-
|
1 |
+
{"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"2.0.0","_api_tested_up_to":"5.6"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.4.0","_api_tested_up_to":"5.5"},"wpglobus-language-widgets":{"title":"{:en}WPGlobus Language Widgets{:}{:ru}\u042f\u0437\u044b\u043a\u0438 WPGlobus \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.7"},"wpglobus-multilingual-popups":{"title":"{:en}WPGlobus Multilingual Popups{:}{:ru}WPGlobus Multilingual Popups{:}","_api_new_version":"1.4.0","_api_tested_up_to":"5.7"},"wpglobus-multilingual-notices":{"title":"{:en}WPGlobus Multilingual Notices{:}{:ru}WPGlobus - \u043c\u043d\u043e\u0433\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f{:}","_api_new_version":"2.7.0","_api_tested_up_to":"5.7"},"woocommerce-wpglobus":{"title":"{:en}WPGlobus for WooCommerce{:}{:ru}\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 WooCommerce WPGlobus{:}","_api_new_version":"5.3.0","_api_tested_up_to":"5.7"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.7.1","_api_tested_up_to":"5.7.1"}}
|
includes/class-wpglobus-post-types.php
CHANGED
@@ -122,6 +122,10 @@ class WPGlobus_Post_Types {
|
|
122 |
'content_block',
|
123 |
// SlidersPack – All In One Image/Post Slider: https://wordpress.org/plugins/sliderspack-all-in-one-image-sliders/ @since 2.7.0
|
124 |
'wpspaios_slider',
|
|
|
|
|
|
|
|
|
125 |
);
|
126 |
|
127 |
/**
|
122 |
'content_block',
|
123 |
// SlidersPack – All In One Image/Post Slider: https://wordpress.org/plugins/sliderspack-all-in-one-image-sliders/ @since 2.7.0
|
124 |
'wpspaios_slider',
|
125 |
+
// WP MyLinks - https://wordpress.org/plugins/wp-mylinks/ @since 2.7.7
|
126 |
+
'mylink',
|
127 |
+
// Ninja Forms Contact Form - https://wordpress.org/plugins/ninja-forms/ @since 2.7.7
|
128 |
+
'nf_sub',
|
129 |
);
|
130 |
|
131 |
/**
|
includes/vendor/yoast-seo/class-wpglobus-yoastseo140.php
CHANGED
@@ -230,6 +230,11 @@ class WPGlobus_YoastSEO {
|
|
230 |
* @see wordpress-seo\src\presenters\schema-presenter.php
|
231 |
*/
|
232 |
add_action( 'wpseo_json_ld', array( __CLASS__, 'on__wpseo_json_ld' ), 5 );
|
|
|
|
|
|
|
|
|
|
|
233 |
}
|
234 |
}
|
235 |
|
@@ -238,7 +243,21 @@ class WPGlobus_YoastSEO {
|
|
238 |
* @since 2.7.4
|
239 |
*/
|
240 |
public static function on__wpseo_json_ld() {
|
241 |
-
add_filter( 'wp_get_attachment_caption', array( __CLASS__, 'filter__wp_get_attachment_caption' ), 5, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
}
|
243 |
|
244 |
/**
|
230 |
* @see wordpress-seo\src\presenters\schema-presenter.php
|
231 |
*/
|
232 |
add_action( 'wpseo_json_ld', array( __CLASS__, 'on__wpseo_json_ld' ), 5 );
|
233 |
+
|
234 |
+
/**
|
235 |
+
* @since 2.7.7
|
236 |
+
*/
|
237 |
+
add_filter( 'option_wpseo_titles', array( __CLASS__, 'filter__wpseo_titles' ), 5, 2 );
|
238 |
}
|
239 |
}
|
240 |
|
243 |
* @since 2.7.4
|
244 |
*/
|
245 |
public static function on__wpseo_json_ld() {
|
246 |
+
add_filter( 'wp_get_attachment_caption', array( __CLASS__, 'filter__wp_get_attachment_caption' ), 5, 2 );
|
247 |
+
}
|
248 |
+
|
249 |
+
/**
|
250 |
+
* Filter `wpseo_titles` option.
|
251 |
+
* @since 2.7.7
|
252 |
+
*/
|
253 |
+
public static function filter__wpseo_titles( $value, $option ) {
|
254 |
+
$_keys[] = 'breadcrumbs-home';
|
255 |
+
foreach ( $_keys as $_key ) {
|
256 |
+
if ( WPGlobus_Core::has_translations($value[$_key]) ) {
|
257 |
+
$value[$_key] = WPGlobus_Core::extract_text( $value[$_key], WPGlobus::Config()->language );
|
258 |
+
}
|
259 |
+
}
|
260 |
+
return $value;
|
261 |
}
|
262 |
|
263 |
/**
|
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.7
|
2 |
+
# This file is distributed under the same license as the WPGlobus 2.7.7 package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WPGlobus 2.7.7\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.6 =
|
224 |
* (Vendor/ACF) Updated doc.
|
225 |
* (Vendor/ACF) Added init param for WPGlobus_Vendor_Acf class.
|
@@ -234,9 +238,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
234 |
* (Vendor/Yoast) Fixed issue with attachment caption in Schema Presenter.
|
235 |
* (Core/Options) Avoid warning when `get_plugins` tries to open non-existing folder.
|
236 |
|
237 |
-
= 2.7.3 =
|
238 |
-
* (Vendor/Yoast) Fixed issue with meta description when homepage displays latest posts.
|
239 |
-
|
240 |
= Earlier versions and Add-ons =
|
241 |
|
242 |
* [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
|
220 |
|
221 |
== Changelog ==
|
222 |
|
223 |
+
= 2.7.7 =
|
224 |
+
* (Vendor/Yoast) Added filter for `wpseo_titles` option.
|
225 |
+
* (Core/Post Types) Added the `WP MyLinks`, `Ninja Forms` plugins post types to the `"hidden types"` list.
|
226 |
+
|
227 |
= 2.7.6 =
|
228 |
* (Vendor/ACF) Updated doc.
|
229 |
* (Vendor/ACF) Added init param for WPGlobus_Vendor_Acf class.
|
238 |
* (Vendor/Yoast) Fixed issue with attachment caption in Schema Presenter.
|
239 |
* (Core/Options) Avoid warning when `get_plugins` tries to open non-existing folder.
|
240 |
|
|
|
|
|
|
|
241 |
= Earlier versions and Add-ons =
|
242 |
|
243 |
* [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.7
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
+
define( 'WPGLOBUS_VERSION', '2.7.7' );
|
48 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
49 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
50 |
|