WPGlobus – Multilingual Everything! - Version 2.2.8

Version Description

  • Internal: (Core/Admin bar menu) Moved JS script to footer.
  • Fixed: (Builders/Yoast) Don't run builder mode for undefined post type, e.g. slides from Bridge theme.
Download this release

Release Info

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

Code changes from version 2.2.7 to 2.2.8

includes/admin/class-wpglobus-admin-bar-menu.php CHANGED
@@ -19,6 +19,11 @@ if ( ! class_exists( 'WPGlobus_Admin_Bar_Menu' ) ) :
19
  * @var array
20
  */
21
  protected static $available_languages = array();
 
 
 
 
 
22
 
23
  /**
24
  * Static constructor.
@@ -36,15 +41,53 @@ if ( ! class_exists( 'WPGlobus_Admin_Bar_Menu' ) ) :
36
  self::$available_languages = get_available_languages();
37
 
38
  $user_locale = get_user_meta( $user_id, 'locale', true );
 
 
39
 
40
  if ( empty( $user_locale ) ) {
41
  self::add_language_menu( $wp_admin_bar );
42
  } else {
43
- self::add_info_menu( $wp_admin_bar, $user_locale );
 
 
44
  }
45
 
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  /**
49
  * Language menu with link to `profile.php` page.
50
  *
@@ -56,11 +99,11 @@ if ( ! class_exists( 'WPGlobus_Admin_Bar_Menu' ) ) :
56
  $user_profile_language = array_search( $user_locale, WPGlobus::Config()->locale, true );
57
 
58
  if ( ! $user_profile_language ) {
59
- return;
60
  }
61
 
62
  if ( empty( WPGlobus::Config()->language_name[ $user_profile_language ] ) ) {
63
- return;
64
  }
65
 
66
  $img = '';
@@ -90,7 +133,8 @@ if ( ! class_exists( 'WPGlobus_Admin_Bar_Menu' ) ) :
90
  ),
91
  )
92
  );
93
-
 
94
  }
95
 
96
  /**
@@ -160,28 +204,8 @@ if ( ! class_exists( 'WPGlobus_Admin_Bar_Menu' ) ) :
160
  )
161
  );
162
  }
163
- ?>
164
- <!--suppress AnonymousFunctionJS, JSUnusedLocalSymbols -->
165
- <script type="text/javascript">
166
- //<![CDATA[
167
- jQuery(document).ready(function ($) {
168
- $('#wpglobus-default-locale').on('click', function (e) {
169
- wpglobus_select_lang('<?php echo esc_js( WPGlobus::Config()->locale[ WPGlobus::Config()->language ] ); ?>');
170
- });
171
- var wpglobus_select_lang = function (locale) {
172
- $.post(ajaxurl, {
173
- action: 'WPGlobus_process_ajax',
174
- order: {action: 'wpglobus_select_lang', locale: locale}
175
- }, function (d) {
176
- })
177
- .done(function () {
178
- window.location.reload();
179
- });
180
- }
181
- });
182
- //]]>
183
- </script>
184
- <?php
185
 
186
  }
187
  }
19
  * @var array
20
  */
21
  protected static $available_languages = array();
22
+
23
+ /**
24
+ * @since 2.2.8
25
+ */
26
+ protected static $run_script = true;
27
 
28
  /**
29
  * Static constructor.
41
  self::$available_languages = get_available_languages();
42
 
43
  $user_locale = get_user_meta( $user_id, 'locale', true );
44
+
45
+ add_action( 'admin_footer', array( __CLASS__, 'on__admin_footer' ), 1000 );
46
 
47
  if ( empty( $user_locale ) ) {
48
  self::add_language_menu( $wp_admin_bar );
49
  } else {
50
+ if ( ! self::add_info_menu( $wp_admin_bar, $user_locale ) ) {
51
+ self::$run_script = false;
52
+ }
53
  }
54
 
55
  }
56
 
57
+ /**
58
+ * @since 2.2.8
59
+ */
60
+ public static function on__admin_footer() {
61
+
62
+ if ( ! self::$run_script ) {
63
+ return;
64
+ }
65
+
66
+ ?>
67
+ <!--suppress AnonymousFunctionJS, JSUnusedLocalSymbols -->
68
+ <script type="text/javascript">
69
+ //<![CDATA[
70
+ jQuery(document).ready(function ($) {
71
+ wpglobus_select_lang = function (locale) {
72
+ $.post(ajaxurl, {
73
+ action: 'WPGlobus_process_ajax',
74
+ order: {action: 'wpglobus_select_lang', locale: locale}
75
+ }, function (d) {
76
+ })
77
+ .done(function () {
78
+ window.location.reload();
79
+ });
80
+ }
81
+ $('#wpglobus-default-locale').on('click', function (e) {
82
+ wpglobus_select_lang('<?php echo esc_js( WPGlobus::Config()->locale[ WPGlobus::Config()->language ] ); ?>');
83
+ });
84
+
85
+ });
86
+ //]]>
87
+ </script>
88
+ <?php
89
+ }
90
+
91
  /**
92
  * Language menu with link to `profile.php` page.
93
  *
99
  $user_profile_language = array_search( $user_locale, WPGlobus::Config()->locale, true );
100
 
101
  if ( ! $user_profile_language ) {
102
+ return false;
103
  }
104
 
105
  if ( empty( WPGlobus::Config()->language_name[ $user_profile_language ] ) ) {
106
+ return false;
107
  }
108
 
109
  $img = '';
133
  ),
134
  )
135
  );
136
+
137
+ return true;
138
  }
139
 
140
  /**
204
  )
205
  );
206
  }
207
+
208
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
 
210
  }
211
  }
includes/builders/class-wpglobus-builders.php CHANGED
@@ -1124,11 +1124,17 @@ if ( ! class_exists( 'WPGlobus_Builders' ) ) :
1124
  $_attrs['builder_page'] = true;
1125
  } else {
1126
 
1127
- if ( isset( $wpseo_titles[ 'display-metabox-pt-' . $post_type ] ) && 0 === (int) $wpseo_titles[ 'display-metabox-pt-' . $post_type ] ) {
 
 
 
 
 
1128
  $_attrs['builder_page'] = false;
1129
  } else {
1130
  $_attrs['builder_page'] = true;
1131
  }
 
1132
  }
1133
 
1134
  $attrs = self::get_attrs( $_attrs );
1124
  $_attrs['builder_page'] = true;
1125
  } else {
1126
 
1127
+ if ( empty( $wpseo_titles[ 'display-metabox-pt-' . $post_type ] ) ) {
1128
+ /**
1129
+ * @since 2.2.8
1130
+ */
1131
+ $_attrs['builder_page'] = false;
1132
+ } elseif ( isset( $wpseo_titles[ 'display-metabox-pt-' . $post_type ] ) && 0 === (int) $wpseo_titles[ 'display-metabox-pt-' . $post_type ] ) {
1133
  $_attrs['builder_page'] = false;
1134
  } else {
1135
  $_attrs['builder_page'] = true;
1136
  }
1137
+
1138
  }
1139
 
1140
  $attrs = self::get_attrs( $_attrs );
languages/wpglobus-ar.po CHANGED
@@ -172,11 +172,11 @@ msgstr ""
172
  "من فضلك تواصل مع مالك الإضافة أو الثيم. إذا كانوا لا يستطيعوا المساعدة، فكر "
173
  "في %s تأجير فريق WPGlobus%s لكي يكتب كود مخصص لك."
174
 
175
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
176
  msgid "Language was set on your profile page"
177
  msgstr ""
178
 
179
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
180
  msgid "Add"
181
  msgstr "إضافة"
182
 
172
  "من فضلك تواصل مع مالك الإضافة أو الثيم. إذا كانوا لا يستطيعوا المساعدة، فكر "
173
  "في %s تأجير فريق WPGlobus%s لكي يكتب كود مخصص لك."
174
 
175
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
176
  msgid "Language was set on your profile page"
177
  msgstr ""
178
 
179
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
180
  msgid "Add"
181
  msgstr "إضافة"
182
 
languages/wpglobus-be.po CHANGED
@@ -179,11 +179,11 @@ msgstr ""
179
  "рассмотрите возможность %s дать заказ команде разработчиков WPGlobus %s на "
180
  "написание кода специально для Вас."
181
 
182
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
183
  msgid "Language was set on your profile page"
184
  msgstr ""
185
 
186
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
187
  msgid "Add"
188
  msgstr "Добавить"
189
 
179
  "рассмотрите возможность %s дать заказ команде разработчиков WPGlobus %s на "
180
  "написание кода специально для Вас."
181
 
182
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
183
  msgid "Language was set on your profile page"
184
  msgstr ""
185
 
186
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
187
  msgid "Add"
188
  msgstr "Добавить"
189
 
languages/wpglobus-bg_BG.po CHANGED
@@ -152,11 +152,11 @@ msgid ""
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
160
  msgid "Add"
161
  msgstr ""
162
 
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
160
  msgid "Add"
161
  msgstr ""
162
 
languages/wpglobus-de_CH.po CHANGED
@@ -170,11 +170,11 @@ msgstr ""
170
  "Installation oder Anpassung haben, können Sie %s das WPGlobus Team %s mit "
171
  "einer benutzerdefinierte Anpassung beauftragen."
172
 
173
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
174
  msgid "Language was set on your profile page"
175
  msgstr ""
176
 
177
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
178
  msgid "Add"
179
  msgstr "Hinzufügen"
180
 
170
  "Installation oder Anpassung haben, können Sie %s das WPGlobus Team %s mit "
171
  "einer benutzerdefinierte Anpassung beauftragen."
172
 
173
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
174
  msgid "Language was set on your profile page"
175
  msgstr ""
176
 
177
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
178
  msgid "Add"
179
  msgstr "Hinzufügen"
180
 
languages/wpglobus-de_DE.po CHANGED
@@ -169,11 +169,11 @@ msgstr ""
169
  "Installation oder Anpassung haben, können Sie %s das WPGlobus Team %s mit "
170
  "einer benutzerdefinierte Anpassung beauftragen."
171
 
172
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
173
  msgid "Language was set on your profile page"
174
  msgstr ""
175
 
176
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
177
  msgid "Add"
178
  msgstr "Hinzufügen"
179
 
169
  "Installation oder Anpassung haben, können Sie %s das WPGlobus Team %s mit "
170
  "einer benutzerdefinierte Anpassung beauftragen."
171
 
172
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
173
  msgid "Language was set on your profile page"
174
  msgstr ""
175
 
176
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
177
  msgid "Add"
178
  msgstr "Hinzufügen"
179
 
languages/wpglobus-el.po CHANGED
@@ -153,11 +153,11 @@ msgid ""
153
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
154
  msgstr ""
155
 
156
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
157
  msgid "Language was set on your profile page"
158
  msgstr ""
159
 
160
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
161
  msgid "Add"
162
  msgstr ""
163
 
153
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
154
  msgstr ""
155
 
156
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
157
  msgid "Language was set on your profile page"
158
  msgstr ""
159
 
160
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
161
  msgid "Add"
162
  msgstr ""
163
 
languages/wpglobus-en_AU.po CHANGED
@@ -177,11 +177,11 @@ msgstr ""
177
  "Please contact the theme / plugin author. If they are unable to assist, "
178
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
179
 
180
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
181
  msgid "Language was set on your profile page"
182
  msgstr ""
183
 
184
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
185
  msgid "Add"
186
  msgstr "Add"
187
 
177
  "Please contact the theme / plugin author. If they are unable to assist, "
178
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
179
 
180
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
181
  msgid "Language was set on your profile page"
182
  msgstr ""
183
 
184
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
185
  msgid "Add"
186
  msgstr "Add"
187
 
languages/wpglobus-en_CA.po CHANGED
@@ -176,11 +176,11 @@ msgstr ""
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
184
  msgid "Add"
185
  msgstr "Add"
186
 
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
184
  msgid "Add"
185
  msgstr "Add"
186
 
languages/wpglobus-en_GB.po CHANGED
@@ -177,11 +177,11 @@ msgstr ""
177
  "Please contact the theme / plugin author. If they are unable to assist, "
178
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
179
 
180
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
181
  msgid "Language was set on your profile page"
182
  msgstr ""
183
 
184
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
185
  msgid "Add"
186
  msgstr "Add"
187
 
177
  "Please contact the theme / plugin author. If they are unable to assist, "
178
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
179
 
180
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
181
  msgid "Language was set on your profile page"
182
  msgstr ""
183
 
184
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
185
  msgid "Add"
186
  msgstr "Add"
187
 
languages/wpglobus-en_NZ.po CHANGED
@@ -176,11 +176,11 @@ msgstr ""
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
184
  msgid "Add"
185
  msgstr "Add"
186
 
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
184
  msgid "Add"
185
  msgstr "Add"
186
 
languages/wpglobus-en_US.po CHANGED
@@ -175,11 +175,11 @@ msgstr ""
175
  "Please contact the theme / plugin author. If they are unable to assist, "
176
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
177
 
178
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
179
  msgid "Language was set on your profile page"
180
  msgstr ""
181
 
182
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
183
  msgid "Add"
184
  msgstr "Add"
185
 
175
  "Please contact the theme / plugin author. If they are unable to assist, "
176
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
177
 
178
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
179
  msgid "Language was set on your profile page"
180
  msgstr ""
181
 
182
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
183
  msgid "Add"
184
  msgstr "Add"
185
 
languages/wpglobus-en_ZA.po CHANGED
@@ -176,11 +176,11 @@ msgstr ""
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
184
  msgid "Add"
185
  msgstr "Add"
186
 
176
  "Please contact the theme / plugin author. If they are unable to assist, "
177
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
178
 
179
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
180
  msgid "Language was set on your profile page"
181
  msgstr ""
182
 
183
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
184
  msgid "Add"
185
  msgstr "Add"
186
 
languages/wpglobus-es_AR.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_CL.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_CO.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_CR.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_ES.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_GT.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_MX.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_PE.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_PR.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-es_VE.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
167
  "ayudarte, considera % s la contratación del WPGlobus % s para escribir un "
168
  "código personalizado para tí."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Añadir"
177
 
languages/wpglobus-et.po CHANGED
@@ -153,11 +153,11 @@ msgid ""
153
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
154
  msgstr ""
155
 
156
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
157
  msgid "Language was set on your profile page"
158
  msgstr ""
159
 
160
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
161
  msgid "Add"
162
  msgstr "Lisa"
163
 
153
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
154
  msgstr ""
155
 
156
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
157
  msgid "Language was set on your profile page"
158
  msgstr ""
159
 
160
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
161
  msgid "Add"
162
  msgstr "Lisa"
163
 
languages/wpglobus-fr_BE.po CHANGED
@@ -183,11 +183,11 @@ msgstr ""
183
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
184
  "écrire un code personnalisé."
185
 
186
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
187
  msgid "Language was set on your profile page"
188
  msgstr ""
189
 
190
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
191
  msgid "Add"
192
  msgstr "Ajouter"
193
 
183
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
184
  "écrire un code personnalisé."
185
 
186
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
187
  msgid "Language was set on your profile page"
188
  msgstr ""
189
 
190
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
191
  msgid "Add"
192
  msgstr "Ajouter"
193
 
languages/wpglobus-fr_CA.po CHANGED
@@ -185,11 +185,11 @@ msgstr ""
185
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
186
  "écrire un code personnalisé."
187
 
188
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
189
  msgid "Language was set on your profile page"
190
  msgstr ""
191
 
192
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
193
  msgid "Add"
194
  msgstr "Ajouter"
195
 
185
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
186
  "écrire un code personnalisé."
187
 
188
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
189
  msgid "Language was set on your profile page"
190
  msgstr ""
191
 
192
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
193
  msgid "Add"
194
  msgstr "Ajouter"
195
 
languages/wpglobus-fr_FR.po CHANGED
@@ -185,11 +185,11 @@ msgstr ""
185
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
186
  "écrire un code personnalisé."
187
 
188
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
189
  msgid "Language was set on your profile page"
190
  msgstr ""
191
 
192
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
193
  msgid "Add"
194
  msgstr "Ajouter"
195
 
185
  "d'apporter de l’aide, songez à %s embaucher l’équipe WPGlobus %s pour vous "
186
  "écrire un code personnalisé."
187
 
188
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
189
  msgid "Language was set on your profile page"
190
  msgstr ""
191
 
192
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
193
  msgid "Add"
194
  msgstr "Ajouter"
195
 
languages/wpglobus-id_ID.po CHANGED
@@ -178,11 +178,11 @@ msgstr ""
178
  "pertimbangkan untuk %s menyewa Tim WPGlobus %s untuk menulis kode khusus "
179
  "untuk Anda."
180
 
181
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
182
  msgid "Language was set on your profile page"
183
  msgstr ""
184
 
185
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
186
  msgid "Add"
187
  msgstr "Menambahkan"
188
 
178
  "pertimbangkan untuk %s menyewa Tim WPGlobus %s untuk menulis kode khusus "
179
  "untuk Anda."
180
 
181
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
182
  msgid "Language was set on your profile page"
183
  msgstr ""
184
 
185
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
186
  msgid "Add"
187
  msgstr "Menambahkan"
188
 
languages/wpglobus-ko_KR.po CHANGED
@@ -152,11 +152,11 @@ msgid ""
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
160
  msgid "Add"
161
  msgstr "추가하기"
162
 
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
160
  msgid "Add"
161
  msgstr "추가하기"
162
 
languages/wpglobus-pl_PL.po CHANGED
@@ -168,11 +168,11 @@ msgstr ""
168
  "stanie pomóc, rozważ %s zatrudnienie Zespołu WPGlobus %s do napisania kodu "
169
  "dla Ciebie."
170
 
171
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
172
  msgid "Language was set on your profile page"
173
  msgstr ""
174
 
175
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
176
  msgid "Add"
177
  msgstr "Dodaj"
178
 
168
  "stanie pomóc, rozważ %s zatrudnienie Zespołu WPGlobus %s do napisania kodu "
169
  "dla Ciebie."
170
 
171
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
172
  msgid "Language was set on your profile page"
173
  msgstr ""
174
 
175
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
176
  msgid "Add"
177
  msgstr "Dodaj"
178
 
languages/wpglobus-pt_BR.po CHANGED
@@ -152,11 +152,11 @@ msgid ""
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
160
  msgid "Add"
161
  msgstr ""
162
 
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
160
  msgid "Add"
161
  msgstr ""
162
 
languages/wpglobus-pt_PT.po CHANGED
@@ -152,11 +152,11 @@ msgid ""
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
160
  msgid "Add"
161
  msgstr ""
162
 
152
  "consider %s hiring the WPGlobus Team %s to write a custom code for you."
153
  msgstr ""
154
 
155
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
156
  msgid "Language was set on your profile page"
157
  msgstr ""
158
 
159
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
160
  msgid "Add"
161
  msgstr ""
162
 
languages/wpglobus-ro_RO.po CHANGED
@@ -167,11 +167,11 @@ msgstr ""
167
  "în măsură să ajute, ia în considerare %s angajarea echipei WPGlobus %s "
168
  "pentru a scrie un cod personalizat pentru tine."
169
 
170
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
175
  msgid "Add"
176
  msgstr "Adaugă"
177
 
167
  "în măsură să ajute, ia în considerare %s angajarea echipei WPGlobus %s "
168
  "pentru a scrie un cod personalizat pentru tine."
169
 
170
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
171
  msgid "Language was set on your profile page"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
175
  msgid "Add"
176
  msgstr "Adaugă"
177
 
languages/wpglobus-ru_RU.po CHANGED
@@ -179,11 +179,11 @@ msgstr ""
179
  "рассмотрите возможность %s дать заказ команде разработчиков WPGlobus %s на "
180
  "написание кода специально для вас."
181
 
182
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
183
  msgid "Language was set on your profile page"
184
  msgstr "Язык указан на странице вашего профиля"
185
 
186
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
187
  msgid "Add"
188
  msgstr "Добавить"
189
 
179
  "рассмотрите возможность %s дать заказ команде разработчиков WPGlobus %s на "
180
  "написание кода специально для вас."
181
 
182
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
183
  msgid "Language was set on your profile page"
184
  msgstr "Язык указан на странице вашего профиля"
185
 
186
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
187
  msgid "Add"
188
  msgstr "Добавить"
189
 
languages/wpglobus-sv_SE.po CHANGED
@@ -166,11 +166,11 @@ msgstr ""
166
  "Kontakta temats / tilläggets författare. Om de inte kan hjälpa, överväg %s "
167
  "anställa WPGlobus Team %s för att skriva egen kod åt dig."
168
 
169
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
170
  msgid "Language was set on your profile page"
171
  msgstr ""
172
 
173
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
174
  msgid "Add"
175
  msgstr "Lägg till"
176
 
166
  "Kontakta temats / tilläggets författare. Om de inte kan hjälpa, överväg %s "
167
  "anställa WPGlobus Team %s för att skriva egen kod åt dig."
168
 
169
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
170
  msgid "Language was set on your profile page"
171
  msgstr ""
172
 
173
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
174
  msgid "Add"
175
  msgstr "Lägg till"
176
 
languages/wpglobus-tr_TR.po CHANGED
@@ -168,11 +168,11 @@ msgstr ""
168
  "durumdalarsa, size özel kod yazmaları için %s WPGlobus Takımı' nı kiralamayı "
169
  "%s düşünebilirsiniz. "
170
 
171
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
172
  msgid "Language was set on your profile page"
173
  msgstr ""
174
 
175
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
176
  msgid "Add"
177
  msgstr "Ekle"
178
 
168
  "durumdalarsa, size özel kod yazmaları için %s WPGlobus Takımı' nı kiralamayı "
169
  "%s düşünebilirsiniz. "
170
 
171
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
172
  msgid "Language was set on your profile page"
173
  msgstr ""
174
 
175
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
176
  msgid "Add"
177
  msgstr "Ekle"
178
 
languages/wpglobus-uk.po CHANGED
@@ -169,11 +169,11 @@ msgstr ""
169
  "допомогти, розгляньте можливість %s дати замовлення команді розробників "
170
  "WPGlobus %s по написанню коду спеціально для Вас."
171
 
172
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
173
  msgid "Language was set on your profile page"
174
  msgstr ""
175
 
176
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
177
  msgid "Add"
178
  msgstr "Додати"
179
 
169
  "допомогти, розгляньте можливість %s дати замовлення команді розробників "
170
  "WPGlobus %s по написанню коду спеціально для Вас."
171
 
172
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
173
  msgid "Language was set on your profile page"
174
  msgstr ""
175
 
176
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
177
  msgid "Add"
178
  msgstr "Додати"
179
 
languages/wpglobus.pot CHANGED
@@ -112,11 +112,11 @@ msgstr ""
112
  msgid "Please contact the theme / plugin author. If they are unable to assist, consider %s hiring the WPGlobus Team %s to write a custom code for you."
113
  msgstr ""
114
 
115
- #: includes/admin/class-wpglobus-admin-bar-menu.php:81
116
  msgid "Language was set on your profile page"
117
  msgstr ""
118
 
119
- #: includes/admin/class-wpglobus-admin-bar-menu.php:150
120
  msgid "Add"
121
  msgstr ""
122
 
112
  msgid "Please contact the theme / plugin author. If they are unable to assist, consider %s hiring the WPGlobus Team %s to write a custom code for you."
113
  msgstr ""
114
 
115
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:124
116
  msgid "Language was set on your profile page"
117
  msgstr ""
118
 
119
+ #: includes/admin/class-wpglobus-admin-bar-menu.php:194
120
  msgid "Add"
121
  msgstr ""
122
 
readme.txt CHANGED
@@ -218,6 +218,11 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
218
 
219
  == Changelog ==
220
 
 
 
 
 
 
221
  = 2.2.7 =
222
 
223
  * Internal: (Core/Admin bar menu) Revised WPGlobus language menu in admin bar.
218
 
219
  == Changelog ==
220
 
221
+ = 2.2.8 =
222
+
223
+ * Internal: (Core/Admin bar menu) Moved JS script to footer.
224
+ * Fixed: (Builders/Yoast) Don't run builder mode for undefined post type, e.g. `slides` from Bridge theme.
225
+
226
  = 2.2.7 =
227
 
228
  * Internal: (Core/Admin bar menu) Revised WPGlobus language menu in admin bar.
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.2.7
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.2.7' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
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.2.8
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.2.8' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
48
  /**