Changeset 3276276
- Timestamp:
- 04/18/2025 03:39:40 AM (11 months ago)
- Location:
- themebeez-toolkit
- Files:
-
- 8 edited
- 1 copied
-
tags/1.3.4 (copied) (copied from themebeez-toolkit/trunk)
-
tags/1.3.4/includes/class-themebeez-toolkit.php (modified) (1 diff)
-
tags/1.3.4/includes/functions.php (modified) (1 diff)
-
tags/1.3.4/readme.txt (modified) (2 diffs)
-
tags/1.3.4/themebeez-toolkit.php (modified) (2 diffs)
-
trunk/includes/class-themebeez-toolkit.php (modified) (1 diff)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/themebeez-toolkit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themebeez-toolkit/tags/1.3.4/includes/class-themebeez-toolkit.php
r3270815 r3276276 170 170 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); 171 171 $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 }197 172 } 198 173 -
themebeez-toolkit/tags/1.3.4/includes/functions.php
r3270815 r3276276 98 98 99 99 add_action( 'themebeez_toolkit_load_theme_info_demo', 'themebeez_toolkit_theme_info_demo_loader' ); 100 101 102 if ( ! 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 5 5 Requires at least: 5.6 6 6 Requires PHP: 7.4 7 Tested up to: 6. 7.28 Stable tag: 1.3. 37 Tested up to: 6.8 8 Stable tag: 1.3.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.3.4 - 18 April, 2025 = 90 - Fixed: PHP Notice: Function _load_textdomain_just_in_time was called icorrectly. 91 89 92 = 1.3.3 - 11 April, 2025 = 90 93 - Updated: Simple mega menu support for child theme for Orchid Store. -
themebeez-toolkit/tags/1.3.4/themebeez-toolkit.php
r3270815 r3276276 4 4 * Plugin URI: https://wordpress.org/plugins/themebeez-toolkit/ 5 5 * 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. 36 * Version: 1.3.4 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 9 * Tested up to: 6. 7.29 * Tested up to: 6.8 10 10 * Author: themebeez 11 11 * Author URI: https://themebeez.com … … 28 28 * Rename this for your plugin and update it as you release new versions. 29 29 */ 30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3. 3' );30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.4' ); 31 31 32 32 // Define THEMEBEEZTOOLKIT_PLUGIN_FILE. -
themebeez-toolkit/trunk/includes/class-themebeez-toolkit.php
r3270815 r3276276 170 170 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); 171 171 $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 }197 172 } 198 173 -
themebeez-toolkit/trunk/includes/functions.php
r3270815 r3276276 98 98 99 99 add_action( 'themebeez_toolkit_load_theme_info_demo', 'themebeez_toolkit_theme_info_demo_loader' ); 100 101 102 if ( ! 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 5 5 Requires at least: 5.6 6 6 Requires PHP: 7.4 7 Tested up to: 6. 7.28 Stable tag: 1.3. 37 Tested up to: 6.8 8 Stable tag: 1.3.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.3.4 - 18 April, 2025 = 90 - Fixed: PHP Notice: Function _load_textdomain_just_in_time was called icorrectly. 91 89 92 = 1.3.3 - 11 April, 2025 = 90 93 - Updated: Simple mega menu support for child theme for Orchid Store. -
themebeez-toolkit/trunk/themebeez-toolkit.php
r3270815 r3276276 4 4 * Plugin URI: https://wordpress.org/plugins/themebeez-toolkit/ 5 5 * 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. 36 * Version: 1.3.4 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 9 * Tested up to: 6. 7.29 * Tested up to: 6.8 10 10 * Author: themebeez 11 11 * Author URI: https://themebeez.com … … 28 28 * Rename this for your plugin and update it as you release new versions. 29 29 */ 30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3. 3' );30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.4' ); 31 31 32 32 // Define THEMEBEEZTOOLKIT_PLUGIN_FILE.
Note: See TracChangeset
for help on using the changeset viewer.