Responsive Menu - Version 3.0.8

Version Description

(25h July 2016) = * Requires PHP 5.4 * Added placeholder search text colour option * Improved update process (no longer need to login to admin to trigger) * Bug fixes

Download this release

Release Info

Developer ResponsiveMenu
Plugin Icon 128x128 Responsive Menu
Version 3.0.8
Comparing to
See all releases

Code changes from version 3.0.7 to 3.0.8

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://responsive.menu/donate
4
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, mobile, tablet, 3 lines, 3 line, three line, three lines
5
  Requires at least: 3.5.0
6
  Tested up to: 4.5.3
7
- Stable tag: 3.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,7 +146,13 @@ To view our whole FAQ, please go to https://responsive.menu/faq/
146
 
147
  == Changelog ==
148
 
149
- = 3.0.7 (15th July 2016) =
 
 
 
 
 
 
150
  * **Requires PHP 5.4**
151
  * Added preview option - Pro only
152
  * Added search box text colour option
4
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, mobile, tablet, 3 lines, 3 line, three line, three lines
5
  Requires at least: 3.5.0
6
  Tested up to: 4.5.3
7
+ Stable tag: 3.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
 
147
  == Changelog ==
148
 
149
+ = 3.0.8 (25h July 2016) =
150
+ * **Requires PHP 5.4**
151
+ * Added placeholder search text colour option
152
+ * Improved update process (no longer need to login to admin to trigger)
153
+ * Bug fixes
154
+
155
+ = 3.0.7 (22nd July 2016) =
156
  * **Requires PHP 5.4**
157
  * Added preview option - Pro only
158
  * Added search box text colour option
responsive-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
- Version: 3.0.7
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
@@ -41,14 +41,15 @@ add_action('plugins_loaded', function() {
41
  $wp_router = new ResponsiveMenu\Routing\WpRouting($container);
42
  $wp_router->route();
43
 
 
 
 
 
 
 
 
 
44
  if(is_admin()):
45
- /*
46
- * Initial Migration and Version Check synchronisation */
47
- add_action('admin_init', function() use($container) {
48
- $migration = $container['migration'];
49
- $migration->setup();
50
- $migration->synchronise();
51
- });
52
 
53
  /*
54
  Polylang Integration Section */
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
+ Version: 3.0.8
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
41
  $wp_router = new ResponsiveMenu\Routing\WpRouting($container);
42
  $wp_router->route();
43
 
44
+ /*
45
+ * Initial Migration and Version Check synchronisation */
46
+ add_action('init', function() use($container) {
47
+ $migration = $container['migration'];
48
+ $migration->setup();
49
+ $migration->synchronise();
50
+ });
51
+
52
  if(is_admin()):
 
 
 
 
 
 
 
53
 
54
  /*
55
  Polylang Integration Section */
src/app/Mappers/ScssMenuMapper.php CHANGED
@@ -51,17 +51,17 @@ class ScssMenuMapper extends ScssMapper
51
  border: 2px solid {$this->options['menu_search_box_border_colour']};
52
  color: {$this->options['menu_search_box_text_colour']};
53
  &:-ms-input-placeholder {
54
- color: {$this->options['menu_search_box_text_colour']};
55
  }
56
  &:-webkit-input-placeholder {
57
- color: {$this->options['menu_search_box_text_colour']};
58
  }
59
  &:-moz-placeholder {
60
- color: {$this->options['menu_search_box_text_colour']};
61
  opacity: 1;
62
  }
63
  &::-moz-placeholder {
64
- color: {$this->options['menu_search_box_text_colour']};
65
  opacity: 1;
66
  }
67
  }
51
  border: 2px solid {$this->options['menu_search_box_border_colour']};
52
  color: {$this->options['menu_search_box_text_colour']};
53
  &:-ms-input-placeholder {
54
+ color: {$this->options['menu_search_box_placholder_colour']};
55
  }
56
  &:-webkit-input-placeholder {
57
+ color: {$this->options['menu_search_box_placholder_colour']};
58
  }
59
  &:-moz-placeholder {
60
+ color: {$this->options['menu_search_box_placholder_colour']};
61
  opacity: 1;
62
  }
63
  &::-moz-placeholder {
64
+ color: {$this->options['menu_search_box_placholder_colour']};
65
  opacity: 1;
66
  }
67
  }
src/config/admin_ordering.php CHANGED
@@ -253,6 +253,12 @@ $order_mapping = [
253
  'title' => __('Background Colour', 'responsive-menu'),
254
  'label' => __('', 'responsive-menu'),
255
  'type' => 'colour'
 
 
 
 
 
 
256
  ]
257
  ],
258
  __('Background Colours', 'responsive-menu') =>
253
  'title' => __('Background Colour', 'responsive-menu'),
254
  'label' => __('', 'responsive-menu'),
255
  'type' => 'colour'
256
+ ],
257
+ [
258
+ 'option' => 'menu_search_box_placholder_colour',
259
+ 'title' => __('Placeholder Colour', 'responsive-menu'),
260
+ 'label' => __('', 'responsive-menu'),
261
+ 'type' => 'colour'
262
  ]
263
  ],
264
  __('Background Colours', 'responsive-menu') =>
src/config/default_options.php CHANGED
@@ -104,6 +104,7 @@ $default_options = array(
104
  'menu_search_box_text_colour' => '#333',
105
  'menu_search_box_border_colour' => '#dadada',
106
  'menu_search_box_background_colour' => '#fff',
 
107
  'menu_word_wrap' => 'off',
108
 
109
  'minify_scripts' => 'off',
104
  'menu_search_box_text_colour' => '#333',
105
  'menu_search_box_border_colour' => '#dadada',
106
  'menu_search_box_background_colour' => '#fff',
107
+ 'menu_search_box_placholder_colour' => '#C7C7CD',
108
  'menu_word_wrap' => 'off',
109
 
110
  'minify_scripts' => 'off',
src/config/route_dependencies.php CHANGED
@@ -39,8 +39,7 @@ $container['option_service'] = function($c) {
39
  };
40
 
41
  $container['current_version'] = function($c) {
42
- $plugin_data = get_plugin_data(dirname(dirname(dirname(__FILE__))) . '/responsive-menu.php', false, false);
43
- return $plugin_data['Version'];
44
  };
45
 
46
  $container['old_version'] = function($c) {
39
  };
40
 
41
  $container['current_version'] = function($c) {
42
+ return '3.0.8';
 
43
  };
44
 
45
  $container['old_version'] = function($c) {
src/views/admin/main.phtml CHANGED
@@ -96,7 +96,7 @@ $boxes = new ResponsiveMenu\ViewModels\Components\Admin\Boxes($order_mapping, $l
96
  <li><i class="fa fa-check"></i><?php _e('Preview Changes', 'responsive-menu'); ?></li>
97
  <li><?php _e('And much more', 'responsive-menu'); ?></li>
98
  </ul>
99
- <a target="_blank" href="http://responsive.menu/why-go-pro" class="button"><?php _e('Upgrade Now', 'responsive-menu'); ?></a>
100
  </div>
101
  <div id="docs_banner">
102
  <?php _e('Confused? Check out our documentation', 'responsive-menu'); ?>
96
  <li><i class="fa fa-check"></i><?php _e('Preview Changes', 'responsive-menu'); ?></li>
97
  <li><?php _e('And much more', 'responsive-menu'); ?></li>
98
  </ul>
99
+ <a target="_blank" href="https://responsive.menu/why-go-pro" class="button"><?php _e('Upgrade Now', 'responsive-menu'); ?></a>
100
  </div>
101
  <div id="docs_banner">
102
  <?php _e('Confused? Check out our documentation', 'responsive-menu'); ?>