Multi Device Switcher - Version 1.5.3

Version Description

  • fixed: add function multi_device_switcher_get_default_options for wp multi-device
Download this release

Release Info

Developer thingsym
Plugin Icon wp plugin Multi Device Switcher
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

Files changed (4) hide show
  1. multi-device-switcher.php +16 -1
  2. pc-switcher-widget.php +1 -1
  3. readme.md +2 -0
  4. readme.txt +4 -2
multi-device-switcher.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Multi Device Switcher
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
- * Version: 1.5.2
7
  * Author: thingsym
8
  * Author URI: http://www.thingslabo.com/
9
  * License: GPL2
@@ -1125,4 +1125,19 @@ function is_disable_switcher() {
1125
  }
1126
  endif;
1127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1128
  ?>
3
  * Plugin Name: Multi Device Switcher
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
+ * Version: 1.5.3
7
  * Author: thingsym
8
  * Author URI: http://www.thingslabo.com/
9
  * License: GPL2
1125
  }
1126
  endif;
1127
 
1128
+ /**
1129
+ * Returns the default options.
1130
+ *
1131
+ * @since 1.5.3
1132
+ */
1133
+ if ( ! function_exists( 'multi_device_switcher_get_default_options' ) ) :
1134
+
1135
+ function multi_device_switcher_get_default_options() {
1136
+ global $multi_device_switcher;
1137
+ if ( is_object( $multi_device_switcher ) ) {
1138
+ return $multi_device_switcher->get_default_options();
1139
+ }
1140
+ }
1141
+ endif;
1142
+
1143
  ?>
pc-switcher-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Widget Name: PC Switcher Widget
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
- * Version: 1.5.2
7
  * Author: thingsym
8
  * Author URI: http://www.thingslabo.com/
9
  * License: GPL2
3
  * Widget Name: PC Switcher Widget
4
  * Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  * Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
+ * Version: 1.5.3
7
  * Author: thingsym
8
  * Author URI: http://www.thingslabo.com/
9
  * License: GPL2
readme.md CHANGED
@@ -401,6 +401,8 @@ You can send your own language pack to author.
401
 
402
  ## Changelog
403
 
 
 
404
  * Version 1.5.2
405
  * fixed: fix setcookie()
406
  * Version 1.5.1
401
 
402
  ## Changelog
403
 
404
+ * Version 1.5.3
405
+ * fixed: add function multi_device_switcher_get_default_options for wp multi-device
406
  * Version 1.5.2
407
  * fixed: fix setcookie()
408
  * Version 1.5.1
readme.txt CHANGED
@@ -5,8 +5,8 @@ Donate link: http://blog.thingslabo.com/archives/000251.html
5
  Link: https://github.com/thingsym/multi-device-switcher
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
  Requires at least: 3.4
8
- Tested up to: 4.6.1
9
- Stable tag: 1.5.2
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -371,6 +371,8 @@ For more information about the Multi Device Switcher Command, see `wp help multi
371
 
372
  == Changelog ==
373
 
 
 
374
  = 1.5.2 =
375
  * fixed: fix setcookie()
376
  = 1.5.1 =
5
  Link: https://github.com/thingsym/multi-device-switcher
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
  Requires at least: 3.4
8
+ Tested up to: 4.7.1
9
+ Stable tag: 1.5.3
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
371
 
372
  == Changelog ==
373
 
374
+ = 1.5.3 =
375
+ * fixed: add function multi_device_switcher_get_default_options for wp multi-device
376
  = 1.5.2 =
377
  * fixed: fix setcookie()
378
  = 1.5.1 =