Plugin Directory

Changeset 1677967


Ignore:
Timestamp:
06/14/2017 01:34:52 AM (9 years ago)
Author:
WPDevHQ
Message:

Fixed fatal error when active theme is Element Theme.

Location:
navmenu-addon-for-elementor
Files:
34 added
6 edited

Legend:

Unmodified
Added
Removed
  • navmenu-addon-for-elementor/trunk/elementor-navmenu.php

    r1630067 r1677967  
    55 * Plugin URI: https://wpdevhq.com/
    66 * Author: WPDevHQ
    7  * Version: 1.0.4
     7 * Version: 1.0.5
    88 * Author URI: https://wpdevhq.com/
    99 *
     
    1313if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1414
    15 define( 'ELEMENTOR_MENUS_VERSION', '1.0.4' );
     15define( 'ELEMENTOR_MENUS_VERSION', '1.0.5' );
    1616
    1717define( 'ELEMENTOR_MENUS__FILE__', __FILE__ );
     
    110110}
    111111
    112 function menus_navbar_menu_choices() {
     112function navmenu_navbar_menu_choices() {
    113113    $menus = wp_get_nav_menus();
    114114    $items = array();
  • navmenu-addon-for-elementor/trunk/modules/menus/widgets/default-navmenu.php

    r1630067 r1677967  
    5151                'label' => __( 'Select Menu', 'elementor-navmenu' ),
    5252                'type' => Controls_Manager::SELECT,             
    53                 'options' => menus_navbar_menu_choices(),
     53                'options' => navmenu_navbar_menu_choices(),
    5454                'default' => '',
    5555            ]
  • navmenu-addon-for-elementor/trunk/modules/menus/widgets/mega-menu.php

    r1614809 r1677967  
    5050                'label' => __( 'Select Menu', 'elementor-navmenu' ),
    5151                'type' => Controls_Manager::SELECT,             
    52                 'options' => menus_navbar_menu_choices(),
     52                'options' => navmenu_navbar_menu_choices(),
    5353                'default' => '',
    5454            ]
  • navmenu-addon-for-elementor/trunk/modules/menus/widgets/navmenu-overlay.php

    r1614809 r1677967  
    5050                'label' => __( 'Select Menu', 'elementor-navmenu' ),
    5151                'type' => Controls_Manager::SELECT,             
    52                 'options' => menus_navbar_menu_choices(),
     52                'options' => navmenu_navbar_menu_choices(),
    5353                'default' => '',
    5454            ]
  • navmenu-addon-for-elementor/trunk/plugin.php

    r1614809 r1677967  
    4545    public function __clone() {
    4646        // Cloning instances of the class is forbidden
    47         _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'elementor-menus' ), '1.0.0' );
     47        _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'elementor-menus' ), '1.0.5' );
    4848    }
    4949
     
    5656    public function __wakeup() {
    5757        // Unserializing instances of the class is forbidden
    58         _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'elementor-menus' ), '1.0.0' );
     58        _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'elementor-menus' ), '1.0.5' );
    5959    }
    6060
  • navmenu-addon-for-elementor/trunk/readme.txt

    r1630067 r1677967  
    44Tags: elementor, pagebuilder, page builder, page builder menu, page builder navmenu, menu builder, builder navigation menus, navigation, menus, navmenu, nav menu 
    55Requires at least: 4.4 
    6 Tested up to: 4.7.3 
    7 Stable tag: 1.0.4 
     6Tested up to: 4.8.0 
     7Stable tag: 1.0.5 
    88License: GPLv3 
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html   
     
    5555
    5656== Changelog ==
     57= 1.0.5 =
     58* FIXED: Fatal error when active theme is Element Theme!
     59
    5760= 1.0.4 =
    5861* NEW: Added options for alignment and padding for submenu items
Note: See TracChangeset for help on using the changeset viewer.