Plugin Directory

Changeset 3276276


Ignore:
Timestamp:
04/18/2025 03:39:40 AM (11 months ago)
Author:
themebeez
Message:

Update to version 1.3.4 from GitHub

Location:
themebeez-toolkit
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • themebeez-toolkit/tags/1.3.4/includes/class-themebeez-toolkit.php

    r3270815 r3276276  
    170170        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
    171171        $this->loader->add_action( 'wp_dashboard_setup', $plugin_admin, 'register_dashboard_widget' );
    172 
    173         $current_active_theme = wp_get_theme();
    174 
    175         if (
    176             'orchid-store' === $current_active_theme->get( 'TextDomain' ) ||
    177             'orchid-store' === $current_active_theme->get( 'Template' )
    178         ) {
    179 
    180             require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';
    181 
    182             require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';
    183 
    184             add_filter(
    185                 'wp_nav_menu_args',
    186                 function ( $args ) {
    187 
    188                     return array_merge(
    189                         $args,
    190                         array(
    191                             'walker' => new Simple_Mega_Menu_Nav_Walker(),
    192                         )
    193                     );
    194                 }
    195             );
    196         }
    197172    }
    198173
  • themebeez-toolkit/tags/1.3.4/includes/functions.php

    r3270815 r3276276  
    9898
    9999add_action( 'themebeez_toolkit_load_theme_info_demo', 'themebeez_toolkit_theme_info_demo_loader' );
     100
     101
     102if ( ! function_exists( 'themebeez_toolkit_init_simple_mega_menu' ) ) {
     103    /**
     104     * Initialize simple mega menu for Orchid Store theme and its child themes.
     105     *
     106     * @since 1.0.0
     107     */
     108    function themebeez_toolkit_init_simple_mega_menu() {
     109
     110        $current_active_theme = wp_get_theme();
     111
     112        if (
     113            'orchid-store' === $current_active_theme->get( 'TextDomain' ) ||
     114            'orchid-store' === $current_active_theme->get( 'Template' )
     115        ) {
     116
     117            require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';
     118
     119            require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';
     120
     121            add_filter(
     122                'wp_nav_menu_args',
     123                function ( $args ) {
     124
     125                    return array_merge(
     126                        $args,
     127                        array(
     128                            'walker' => new Simple_Mega_Menu_Nav_Walker(),
     129                        )
     130                    );
     131                }
     132            );
     133        }
     134    }
     135
     136    add_action( 'init', 'themebeez_toolkit_init_simple_mega_menu' );
     137}
  • themebeez-toolkit/tags/1.3.4/readme.txt

    r3270815 r3276276  
    55Requires at least: 5.6
    66Requires PHP: 7.4
    7 Tested up to: 6.7.2
    8 Stable tag: 1.3.3
     7Tested up to: 6.8
     8Stable tag: 1.3.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.3.4 - 18 April, 2025 =
     90- Fixed:   PHP Notice:  Function _load_textdomain_just_in_time was called icorrectly.
     91
    8992= 1.3.3 - 11 April, 2025 =
    9093- Updated: Simple mega menu support for child theme for Orchid Store.
  • themebeez-toolkit/tags/1.3.4/themebeez-toolkit.php

    r3270815 r3276276  
    44 * Plugin URI:        https://wordpress.org/plugins/themebeez-toolkit/
    55 * Description:       A essential toolkit for themes made by www.themebeez.com. This plugin extends themes made by themebeez & adds functionality to import demo data in just a click.
    6  * Version:           1.3.3
     6 * Version:           1.3.4
    77 * Requires at least: 5.6
    88 * Requires PHP:      7.4
    9  * Tested up to:      6.7.2
     9 * Tested up to:      6.8
    1010 * Author:            themebeez
    1111 * Author URI:        https://themebeez.com
     
    2828 * Rename this for your plugin and update it as you release new versions.
    2929 */
    30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.3' );
     30define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.4' );
    3131
    3232// Define THEMEBEEZTOOLKIT_PLUGIN_FILE.
  • themebeez-toolkit/trunk/includes/class-themebeez-toolkit.php

    r3270815 r3276276  
    170170        $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
    171171        $this->loader->add_action( 'wp_dashboard_setup', $plugin_admin, 'register_dashboard_widget' );
    172 
    173         $current_active_theme = wp_get_theme();
    174 
    175         if (
    176             'orchid-store' === $current_active_theme->get( 'TextDomain' ) ||
    177             'orchid-store' === $current_active_theme->get( 'Template' )
    178         ) {
    179 
    180             require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';
    181 
    182             require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';
    183 
    184             add_filter(
    185                 'wp_nav_menu_args',
    186                 function ( $args ) {
    187 
    188                     return array_merge(
    189                         $args,
    190                         array(
    191                             'walker' => new Simple_Mega_Menu_Nav_Walker(),
    192                         )
    193                     );
    194                 }
    195             );
    196         }
    197172    }
    198173
  • themebeez-toolkit/trunk/includes/functions.php

    r3270815 r3276276  
    9898
    9999add_action( 'themebeez_toolkit_load_theme_info_demo', 'themebeez_toolkit_theme_info_demo_loader' );
     100
     101
     102if ( ! function_exists( 'themebeez_toolkit_init_simple_mega_menu' ) ) {
     103    /**
     104     * Initialize simple mega menu for Orchid Store theme and its child themes.
     105     *
     106     * @since 1.0.0
     107     */
     108    function themebeez_toolkit_init_simple_mega_menu() {
     109
     110        $current_active_theme = wp_get_theme();
     111
     112        if (
     113            'orchid-store' === $current_active_theme->get( 'TextDomain' ) ||
     114            'orchid-store' === $current_active_theme->get( 'Template' )
     115        ) {
     116
     117            require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';
     118
     119            require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';
     120
     121            add_filter(
     122                'wp_nav_menu_args',
     123                function ( $args ) {
     124
     125                    return array_merge(
     126                        $args,
     127                        array(
     128                            'walker' => new Simple_Mega_Menu_Nav_Walker(),
     129                        )
     130                    );
     131                }
     132            );
     133        }
     134    }
     135
     136    add_action( 'init', 'themebeez_toolkit_init_simple_mega_menu' );
     137}
  • themebeez-toolkit/trunk/readme.txt

    r3270815 r3276276  
    55Requires at least: 5.6
    66Requires PHP: 7.4
    7 Tested up to: 6.7.2
    8 Stable tag: 1.3.3
     7Tested up to: 6.8
     8Stable tag: 1.3.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.3.4 - 18 April, 2025 =
     90- Fixed:   PHP Notice:  Function _load_textdomain_just_in_time was called icorrectly.
     91
    8992= 1.3.3 - 11 April, 2025 =
    9093- Updated: Simple mega menu support for child theme for Orchid Store.
  • themebeez-toolkit/trunk/themebeez-toolkit.php

    r3270815 r3276276  
    44 * Plugin URI:        https://wordpress.org/plugins/themebeez-toolkit/
    55 * Description:       A essential toolkit for themes made by www.themebeez.com. This plugin extends themes made by themebeez & adds functionality to import demo data in just a click.
    6  * Version:           1.3.3
     6 * Version:           1.3.4
    77 * Requires at least: 5.6
    88 * Requires PHP:      7.4
    9  * Tested up to:      6.7.2
     9 * Tested up to:      6.8
    1010 * Author:            themebeez
    1111 * Author URI:        https://themebeez.com
     
    2828 * Rename this for your plugin and update it as you release new versions.
    2929 */
    30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.3' );
     30define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.4' );
    3131
    3232// Define THEMEBEEZTOOLKIT_PLUGIN_FILE.
Note: See TracChangeset for help on using the changeset viewer.