Changeset 2054019
- Timestamp:
- 03/20/2019 01:51:44 PM (7 years ago)
- Location:
- woocommerce-menu-extension
- Files:
-
- 11 added
- 2 edited
-
tags/1.6.1 (added)
-
tags/1.6.1/Screentshot-1.png (added)
-
tags/1.6.1/include (added)
-
tags/1.6.1/include/backend.inc.php (added)
-
tags/1.6.1/include/edit_custom_walker.php (added)
-
tags/1.6.1/include/frontend.inc.php (added)
-
tags/1.6.1/readme.txt (added)
-
tags/1.6.1/screenshot-1.png (added)
-
tags/1.6.1/screenshot-2.png (added)
-
tags/1.6.1/screenshot-3.png (added)
-
tags/1.6.1/woocommerce-menu-extension.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-menu-extension.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-menu-extension/trunk/readme.txt
r2025976 r2054019 4 4 Requires at least: 3.0 5 5 Tested up to: 5.0.3 6 Stable tag: 1.6. 16 Stable tag: 1.6.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 80 80 == Changelog == 81 81 82 = 1.6.2 = 83 * Bug Fixes For Deprecated Function. 84 82 85 = 1.6.1 = 83 86 * Hot fixes. -
woocommerce-menu-extension/trunk/woocommerce-menu-extension.php
r2025976 r2054019 4 4 Plugin URI: http://www.augustinfotech.com 5 5 Description: You can now add woocommerce links in your WP menus. 6 Version: 1.6. 16 Version: 1.6.2 7 7 Text Domain: woocommerce-menu-extension 8 8 Author: August Infotech … … 10 10 */ 11 11 12 define( 'AIWOO_VERSION', '1.6. 1' );12 define( 'AIWOO_VERSION', '1.6.2' ); 13 13 14 14 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); … … 17 17 18 18 if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 19 20 add_action( 'plugins_loaded', create_function( '', ' 21 $filename = "include/"; 22 $filename .= is_admin() ? "backend.inc.php" : "frontend.inc.php"; 23 if( file_exists( plugin_dir_path( __FILE__ ) . $filename ) ) 24 include( plugin_dir_path( __FILE__ ) . $filename ); 25 ' ) 26 ); 27 19 add_action( 'plugins_loaded', 'aiwoo_plugin_include', 10, 1); 20 28 21 // edit menu walker 29 22 add_filter( 'wp_edit_nav_menu_walker', 'aiwoo_edit_walker', 10, 2 ); … … 39 32 } else { 40 33 add_action('admin_notices', 'aiwoo_plugin_admin_notices'); 34 } 35 36 function aiwoo_plugin_include(){ 37 $filename = "include/"; 38 $filename .= is_admin() ? "backend.inc.php" : "frontend.inc.php"; 39 if( file_exists( plugin_dir_path( __FILE__ ) . $filename ) ) 40 include( plugin_dir_path( __FILE__ ) . $filename ); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.