Multi Device Switcher - Version 1.8.2

Version Description

  • change requires at least to wordpress 4.9
  • change requires to PHP 5.6
  • add test case
  • set the initial value an empty array
  • add hook_suffix argument
Download this release

Release Info

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

Code changes from version 1.8.1 to 1.8.2

languages/multi-device-switcher-ja.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Multi Device Switcher package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Multi Device Switcher 1.8.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7
  "switcher\n"
8
  "POT-Creation-Date: 2021-12-26 08:37:47+00:00\n"
@@ -21,7 +21,7 @@ msgstr "モバイル"
21
  msgid "PC"
22
  msgstr "PC"
23
 
24
- #. #-#-#-#-# multi-device-switcher.pot (Multi Device Switcher 1.8.1) #-#-#-#-#
25
  #. Plugin Name of the plugin/theme
26
  #: multi-device-switcher.php:755 multi-device-switcher.php:756
27
  #: multi-device-switcher.php:939 multi-device-switcher.php:1394
2
  # This file is distributed under the same license as the Multi Device Switcher package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Multi Device Switcher 1.8.2n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7
  "switcher\n"
8
  "POT-Creation-Date: 2021-12-26 08:37:47+00:00\n"
21
  msgid "PC"
22
  msgstr "PC"
23
 
24
+ #. #-#-#-#-# multi-device-switcher.pot (Multi Device Switcher 1.8.2) #-#-#-#-#
25
  #. Plugin Name of the plugin/theme
26
  #: multi-device-switcher.php:755 multi-device-switcher.php:756
27
  #: multi-device-switcher.php:939 multi-device-switcher.php:1394
languages/multi-device-switcher.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Multi Device Switcher package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Multi Device Switcher 1.8.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7
  "switcher\n"
8
  "POT-Creation-Date: 2021-12-26 08:37:47+00:00\n"
@@ -21,7 +21,7 @@ msgstr ""
21
  msgid "PC"
22
  msgstr ""
23
 
24
- #. #-#-#-#-# multi-device-switcher.pot (Multi Device Switcher 1.8.1) #-#-#-#-#
25
  #. Plugin Name of the plugin/theme
26
  #: multi-device-switcher.php:755 multi-device-switcher.php:756
27
  #: multi-device-switcher.php:939 multi-device-switcher.php:1394
2
  # This file is distributed under the same license as the Multi Device Switcher package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Multi Device Switcher 1.8.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multi-device-"
7
  "switcher\n"
8
  "POT-Creation-Date: 2021-12-26 08:37:47+00:00\n"
21
  msgid "PC"
22
  msgstr ""
23
 
24
+ #. #-#-#-#-# multi-device-switcher.pot (Multi Device Switcher 1.8.2) #-#-#-#-#
25
  #. Plugin Name of the plugin/theme
26
  #: multi-device-switcher.php:755 multi-device-switcher.php:756
27
  #: multi-device-switcher.php:939 multi-device-switcher.php:1394
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.8.1
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
  * License: GPL2 or later
@@ -134,7 +134,7 @@ class Multi_Device_Switcher {
134
  *
135
  * @var array|null $plugin_data
136
  */
137
- public $plugin_data;
138
 
139
  /**
140
  * Constructor
@@ -676,7 +676,7 @@ class Multi_Device_Switcher {
676
  *
677
  * @since 1.0.0
678
  */
679
- public function admin_enqueue_scripts( $hook_suffix ) {
680
  wp_enqueue_script(
681
  'multi-device-switcher-options',
682
  plugins_url() . '/multi-device-switcher/multi-device-switcher.js',
@@ -694,7 +694,7 @@ class Multi_Device_Switcher {
694
  *
695
  * @since 1.0.0
696
  */
697
- public function admin_enqueue_styles( $hook_suffix ) {
698
  wp_enqueue_style(
699
  'multi-device-switcher-options',
700
  plugins_url() . '/multi-device-switcher/multi-device-switcher.css',
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.8.2
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
  * License: GPL2 or later
134
  *
135
  * @var array|null $plugin_data
136
  */
137
+ public $plugin_data = array();
138
 
139
  /**
140
  * Constructor
676
  *
677
  * @since 1.0.0
678
  */
679
+ public function admin_enqueue_scripts( $hook_suffix = '' ) {
680
  wp_enqueue_script(
681
  'multi-device-switcher-options',
682
  plugins_url() . '/multi-device-switcher/multi-device-switcher.js',
694
  *
695
  * @since 1.0.0
696
  */
697
+ public function admin_enqueue_styles( $hook_suffix = '' ) {
698
  wp_enqueue_style(
699
  'multi-device-switcher-options',
700
  plugins_url() . '/multi-device-switcher/multi-device-switcher.css',
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.8.1
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
  * License: GPL2 or later
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.8.2
7
  * Author: thingsym
8
  * Author URI: https://www.thingslabo.com/
9
  * License: GPL2 or later
readme.txt CHANGED
@@ -4,10 +4,10 @@ Contributors: thingsym
4
  Link: https://github.com/thingsym/multi-device-switcher
5
  Donate link: https://github.com/sponsors/thingsym
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
- Stable tag: 1.8.1
8
- Tested up to: 5.8.0
9
- Requires at least: 3.7
10
- Requires PHP: 5.4
11
  License: GPL2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -365,6 +365,13 @@ For more information about the Multi Device Switcher Command, see `wp help multi
365
 
366
  == Changelog ==
367
 
 
 
 
 
 
 
 
368
  = 1.8.1 =
369
  * update japanese translation
370
  * update pot
@@ -540,6 +547,10 @@ For more information about the Multi Device Switcher Command, see `wp help multi
540
 
541
  == Upgrade Notice ==
542
 
 
 
 
 
543
  = 1.6.0 =
544
  * Requires at least version 3.7 of the WordPress
545
 
4
  Link: https://github.com/thingsym/multi-device-switcher
5
  Donate link: https://github.com/sponsors/thingsym
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
+ Stable tag: 1.8.2
8
+ Tested up to: 5.9.0
9
+ Requires at least: 4.9
10
+ Requires PHP: 5.6
11
  License: GPL2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
365
 
366
  == Changelog ==
367
 
368
+ = 1.8.2 =
369
+ * change requires at least to wordpress 4.9
370
+ * change requires to PHP 5.6
371
+ * add test case
372
+ * set the initial value an empty array
373
+ * add hook_suffix argument
374
+
375
  = 1.8.1 =
376
  * update japanese translation
377
  * update pot
547
 
548
  == Upgrade Notice ==
549
 
550
+ = 1.8.2 =
551
+ * Requires at least version 4.9 of the WordPress
552
+ * Requires PHP version 5.6
553
+
554
  = 1.6.0 =
555
  * Requires at least version 3.7 of the WordPress
556