Responsive Menu - Version 3.1.13

Version Description

(19th January 2018) = * Move custom data to the uploads folder.

Download this release

Release Info

Developer peterfeatherstone
Plugin Icon 128x128 Responsive Menu
Version 3.1.13
Comparing to
See all releases

Code changes from version 3.1.12 to 3.1.13

app/Controllers/FrontController.php CHANGED
@@ -30,8 +30,8 @@ class FrontController {
30
 
31
  if($options['external_files'] == 'on'):
32
  add_action('wp_enqueue_scripts', function() use($options) {
33
- $css_file = plugins_url() . '/responsive-menu-data/css/responsive-menu-' . get_current_blog_id() . '.css';
34
- $js_file = plugins_url() . '/responsive-menu-data/js/responsive-menu-' . get_current_blog_id() . '.js';
35
  wp_enqueue_style('responsive-menu', $css_file, null, false);
36
  wp_enqueue_script('responsive-menu', $js_file, ['jquery'], false, $options['scripts_in_footer'] == 'on' ? true : false);
37
  });
30
 
31
  if($options['external_files'] == 'on'):
32
  add_action('wp_enqueue_scripts', function() use($options) {
33
+ $css_file = wp_upload_dir()['baseurl'] . '/responsive-menu/css/responsive-menu-' . get_current_blog_id() . '.css';
34
+ $js_file = wp_upload_dir()['baseurl'] . '/responsive-menu/js/responsive-menu-' . get_current_blog_id() . '.js';
35
  wp_enqueue_style('responsive-menu', $css_file, null, false);
36
  wp_enqueue_script('responsive-menu', $js_file, ['jquery'], false, $options['scripts_in_footer'] == 'on' ? true : false);
37
  });
app/Tasks/UpdateOptionsTask.php CHANGED
@@ -22,7 +22,7 @@ class UpdateOptionsTask {
22
  */
23
  if($options['external_files'] == 'on'):
24
 
25
- $base_dir = dirname(dirname(dirname(dirname(__FILE__)))) . '/responsive-menu-data';
26
 
27
  if(!is_dir($base_dir))
28
  if(!mkdir($base_dir))
22
  */
23
  if($options['external_files'] == 'on'):
24
 
25
+ $base_dir = wp_upload_dir()['basedir'] . '/responsive-menu';
26
 
27
  if(!is_dir($base_dir))
28
  if(!mkdir($base_dir))
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ResponsiveMenu, peterfeatherstone
3
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, hamburger menu, hamburger, mobile, tablet, 3 lines, 3 line, three line, three lines
4
  Requires at least: 3.6
5
  Tested up to: 4.9
6
- Stable tag: 3.1.12
7
  Requires PHP: 5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -110,6 +110,9 @@ To view our FAQ, please go to [https://responsive.menu/faq/](https://responsive.
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 3.1.12 (17th January 2018) =
114
  * Added option to control sub-menu speed.
115
  * Added "Minus" button animation.
3
  Tags: responsive, menu, responsive menu, mobile menu, wordpress responsive menu, wp responsive menu, tablet menu, hamburger menu, hamburger, mobile, tablet, 3 lines, 3 line, three line, three lines
4
  Requires at least: 3.6
5
  Tested up to: 4.9
6
+ Stable tag: 3.1.13
7
  Requires PHP: 5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
110
 
111
  == Changelog ==
112
 
113
+ = 3.1.13 (19th January 2018) =
114
+ * Move custom data to the uploads folder.
115
+
116
  = 3.1.12 (17th January 2018) =
117
  * Added option to control sub-menu speed.
118
  * Added "Minus" button animation.
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.1.12
8
  Author: Peter Featherstone
9
  Text Domain: responsive-menu
10
  Author URI: https://peterfeatherstone.com
4
  Plugin Name: Responsive Menu
5
  Plugin URI: https://responsive.menu
6
  Description: Highly Customisable Responsive Menu Plugin for WordPress
7
+ Version: 3.1.13
8
  Author: Peter Featherstone
9
  Text Domain: responsive-menu
10
  Author URI: https://peterfeatherstone.com