| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | /* |
| 4 | 4 | Plugin Name: Responsive Menu |
| 5 | 5 | Plugin URI: https://expresstech.io |
| 6 | 6 | Description: Highly Customisable Responsive Menu Plugin for WordPress |
| 7 | -Version: 4.1.2 | |
| 7 | +Version: 4.0.4 | |
| 8 | 8 | Author: ExpressTech |
| 9 | 9 | Text Domain: responsive-menu |
| 10 | 10 | Author URI: https://responsive.menu |
| 11 | 11 | License: GPL2 |
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | /** |
| 16 | 16 | * Constant as plugin version. |
| 17 | 17 | */ |
| 18 | 18 | if ( ! defined( 'RMP_PLUGIN_VERSION' ) ) { |
| 19 | - define( 'RMP_PLUGIN_VERSION', '4.1.2' ); | |
| 19 | + define( 'RMP_PLUGIN_VERSION', '4.0.4' ); | |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | define('RESPONSIVE_MENU_URL', plugin_dir_url( __FILE__ ) ); |
| 23 | 23 | |
| @@ -220,39 +220,5 @@ | ||
| 220 | 220 | function responsive_menu_plugin_deactivation() { |
| 221 | 221 | flush_rewrite_rules(); |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | - /** | |
| 225 | - * Function to include the menu themes templates. | |
| 226 | - * | |
| 227 | - * @since 4.0.5 | |
| 228 | - * | |
| 229 | - * @return void | |
| 230 | - */ | |
| 231 | - function rm_includes_menu_theme_template() { | |
| 232 | - | |
| 233 | - $theme_manager = \RMP\Features\Inc\Theme_Manager::get_instance(); | |
| 234 | - | |
| 235 | - //Check class theme manager has this method or not. | |
| 236 | - if ( ! method_exists( $theme_manager, 'get_menu_active_themes' ) ) { | |
| 237 | - return; | |
| 238 | - } | |
| 239 | - | |
| 240 | - $active_themes = $theme_manager->get_menu_active_themes(); | |
| 241 | - if ( empty( $active_themes ) ) { | |
| 242 | - return; | |
| 243 | - } | |
| 244 | - | |
| 245 | - //Include the file from each theme which has php template. | |
| 246 | - foreach( $active_themes as $key => $theme_name ) { | |
| 247 | - | |
| 248 | - $theme_index = $theme_manager->get_theme_index_file( $theme_name ); | |
| 249 | - | |
| 250 | - if ( file_exists( $theme_index ) ) { | |
| 251 | - require_once $theme_index; | |
| 252 | - } | |
| 253 | - } | |
| 254 | - | |
| 255 | - } | |
| 256 | - | |
| 257 | - rm_includes_menu_theme_template(); | |
| 258 | 224 | } |