Responsive Menu - Version 3.0.17

Version Description

(26th November 2016) = * Requires PHP 5.4 * Fixed bug that stripped slashes from text inputs in admin screen * Fixed junk pixel residue left behind on screen on menu close issue * Fixed hiding of menu items in slide animation beta * Fixed "Back to %previous_category_name%" text check on slide animation beta * Bug fixes

Download this release

Release Info

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

Code changes from version 3.0.16 to 3.0.17

readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: ResponsiveMenu
3
  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.6
7
- Stable tag: 3.0.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -119,6 +119,14 @@ To view our whole FAQ, please go to https://responsive.menu/faq/
119
 
120
  == Changelog ==
121
 
 
 
 
 
 
 
 
 
122
  = 3.0.16 (21st October 2016) =
123
  * **Requires PHP 5.4**
124
  * Added functionality for admin to remember last saved tab
3
  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.7
7
+ Stable tag: 3.0.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
119
 
120
  == Changelog ==
121
 
122
+ = 3.0.17 (26th November 2016) =
123
+ * **Requires PHP 5.4**
124
+ * Fixed bug that stripped slashes from text inputs in admin screen
125
+ * Fixed junk pixel residue left behind on screen on menu close issue
126
+ * Fixed hiding of menu items in slide animation beta
127
+ * Fixed "Back to %previous_category_name%" text check on slide animation beta
128
+ * Bug fixes
129
+
130
  = 3.0.16 (21st October 2016) =
131
  * **Requires PHP 5.4**
132
  * Added functionality for admin to remember last saved tab
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.16
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
+ Version: 3.0.17
8
  Author: Responsive Menu
9
  Text Domain: responsive-menu
10
  Author URI: https://responsive.menu
src/app/Factories/OptionFactory.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  namespace ResponsiveMenu\Factories;
4
- use ResponsiveMenu\Models\Option as Option;
5
 
6
  class OptionFactory {
7
 
@@ -17,8 +17,7 @@ class OptionFactory {
17
  : new \ResponsiveMenu\Filters\TextFilter;
18
 
19
  $value = isset($value) || $value == '0' ? $value : $this->defaults[$name];
20
- $value = stripslashes_deep($value);
21
- $option = new Option($name, $value);
22
  $option->setFilter($filter);
23
 
24
  return $option;
1
  <?php
2
 
3
  namespace ResponsiveMenu\Factories;
4
+ use ResponsiveMenu\Models\Option;
5
 
6
  class OptionFactory {
7
 
17
  : new \ResponsiveMenu\Filters\TextFilter;
18
 
19
  $value = isset($value) || $value == '0' ? $value : $this->defaults[$name];
20
+ $option = new Option($name, stripslashes_deep($value));
 
21
  $option->setFilter($filter);
22
 
23
  return $option;
src/app/Form/Text.php CHANGED
@@ -7,7 +7,7 @@ use ResponsiveMenu\Form\FormComponent;
7
  class Text implements FormComponent {
8
 
9
  public function render(Option $option) {
10
- return "<input type='text' class='text' id='{$option->getName()}' name='menu[{$option->getName()}]' value='{$option->getValue()}' />";
11
  }
12
 
13
  }
7
  class Text implements FormComponent {
8
 
9
  public function render(Option $option) {
10
+ return "<input type='text' class='text' id='{$option->getName()}' name='menu[{$option->getName()}]' value='" . htmlentities($option->getValue(), ENT_QUOTES) . "' />";
11
  }
12
 
13
  }
src/app/Mappers/ScssBaseMapper.php CHANGED
@@ -29,6 +29,7 @@ class ScssBaseMapper extends ScssMapper {
29
  /* Fix for scroll bars appearing when not needed */
30
  padding-bottom: 5px;
31
  margin-bottom: -5px;
 
32
  overflow-y: auto;
33
  overflow-x: hidden;
34
  .responsive-menu-search-box {
29
  /* Fix for scroll bars appearing when not needed */
30
  padding-bottom: 5px;
31
  margin-bottom: -5px;
32
+ outline: 1px solid transparent;
33
  overflow-y: auto;
34
  overflow-x: hidden;
35
  .responsive-menu-search-box {
src/config/services.php CHANGED
@@ -3,7 +3,7 @@
3
  $container = new ResponsiveMenu\Routing\Container();
4
 
5
  $container['current_version'] = function($c) {
6
- return '3.0.16';
7
  };
8
 
9
  $container['option_helpers'] = function($c) {
3
  $container = new ResponsiveMenu\Routing\Container();
4
 
5
  $container['current_version'] = function($c) {
6
+ return '3.0.17';
7
  };
8
 
9
  $container['option_helpers'] = function($c) {