PluginProbe
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar / 2.1.21
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar v2.1.21
2.1.22 2.1.21 2.1.20 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 trunk 1.1 2.0 2.0.1 2.0.10.2 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.18 2.0.2 2.0.20 2.0.21 All 56 releases
← All changes | core/wpbm-translation.php +5 -5 2.0.1 → 2.1.21 View file →
@@ -4,9 +4,9 @@
4 4 * @subpackage Translations Functions
5 5 * @category Functions
6 6 *
7 7 * @author wpdevelop
8 - * @link http://oplugins.com/
8 + * @link https://oplugins.com/
9 9 * @email [email protected]
10 10 *
11 11 * @modified 29.09.2015
12 12 */
@@ -214,9 +214,9 @@
214 214 if( function_exists( 'get_user_locale' ) )
215 215 $locale = is_admin() ? get_user_locale() : get_locale();
216 216 else
217 217 $locale = get_locale();
218 -
218 +
219 219 define( 'WPBM_LOCALE_RELOAD', $locale );
220 220
221 221 return $locale;
222 222
@@ -222,13 +222,13 @@
222 222
223 223 }
224 224
225 225
226 -function wpbm_recheck_plugin_locale( $locale, $plugin_domain ) {
226 +function wpbm_recheck_plugin_locale( $locale, $plugin_domain = '' ) { //FixIn: 2.0.9.1
227 227
228 - if ( $plugin_domain == 'item' )
228 + if ( $plugin_domain == 'booking-manager' ) //FixIn: 2.0.9.1
229 229 if ( defined('WPBM_RELOAD') )
230 230 return WPBM_RELOAD;
231 231
232 232 return $locale;
233 233 }
234 -add_filter( 'plugin_locale', 'wpbm_recheck_plugin_locale', 100, 2 ); // When load_plugin_text_domain is work, its get def locale and not that, we send to it so need to reupdate it
234 +add_filter( 'plugin_locale', 'wpbm_recheck_plugin_locale', 100, 2 ); // When load_plugin_text_domain is work, its get def locale and not that, we send to it so need to reupdate it