Changeset 3216130
- Timestamp:
- 01/02/2025 09:55:57 PM (14 months ago)
- Location:
- wp-commerce7/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
commerce7-for-wordpress.php (modified) (4 diffs)
-
includes/class-c7wp.php (modified) (3 diffs)
-
includes/gutenberg/load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-commerce7/trunk/README.txt
r3207744 r3216130 5 5 Requires at least: 6.0 6 6 Tested up to: 6.7.1 7 Stable tag: 1.4. 77 Stable tag: 1.4.8 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 72 72 73 73 == Changelog == 74 75 = 1.4.8 - January 2, 2025 = 76 * Fix: Disable C7 JS in Oxygen's frontend builder to prevent conflicts. 74 77 75 78 = 1.4.7 - December 13, 2024 = -
wp-commerce7/trunk/commerce7-for-wordpress.php
r3207744 r3216130 12 12 * Plugin Name: Commerce7 for WordPress 13 13 * Description: Integrate Commerce7 functionality into your WordPress site easily 14 * Version: 1.4. 714 * Version: 1.4.8 15 15 * Author: 5forests 16 16 * Author URI: https://5forests.com … … 18 18 * Requires at least: 6.0 19 19 * Tested up to: 6.7.1 20 * Stable tag: 1.4. 720 * Stable tag: 1.4.8 21 21 * Requires PHP: 7.4 22 22 * License: GPL3 … … 28 28 * Author: Michael Bourne 29 29 * ----- 30 * Last Modified: Sunday, December 8th 2024, 1:33:04pm30 * Last Modified: Thursday, January 2nd 2025, 2:54:10 pm 31 31 * Modified By: Michael Bourne 32 32 * ----- 33 * Copyright (c) 2019-202 4URSA633 * Copyright (c) 2019-2025 URSA6 34 34 * 35 35 * Commerce7 for WordPress is a plugin for WordPress that enables you to add Commerce7 ecommerce integration into your site. … … 48 48 defined( 'C7WP_ROOT' ) || define( 'C7WP_ROOT', dirname( __FILE__ ) ); 49 49 defined( 'C7WP_URI' ) || define( 'C7WP_URI', plugin_dir_url( __FILE__ ) ); 50 defined( 'C7WP_VERSION' ) || define( 'C7WP_VERSION', '1.4. 7' );50 defined( 'C7WP_VERSION' ) || define( 'C7WP_VERSION', '1.4.8' ); 51 51 52 52 -
wp-commerce7/trunk/includes/class-c7wp.php
r3207744 r3216130 76 76 add_action( 'elementor/editor/before_enqueue_scripts', array( $this, 'elementor_editor_enqueue_scripts' ) ); 77 77 add_action( 'after_setup_theme', array( $this, 'load_c7_css' ), 9 ); 78 add_filter( 'body_class', array( $this, 'add_body_class' ) ); 78 79 79 80 // for front end … … 677 678 break; 678 679 } 679 wp_enqueue_script( 'c7js' ); 680 /** 681 * Enqueues the 'c7js' script if the following conditions are met: 682 * - The current request is not an admin request. 683 * - The 'ct_builder' query parameter is not present in the URL. 684 * 685 * This ensures that the C7 script is only enqueued on the front-end and not when 686 * using certain page builders like Oxygen. 687 */ 688 if ( ! is_admin() && empty( $_GET['ct_builder'] ) ) { 689 wp_enqueue_script( 'c7js' ); 690 } 680 691 681 692 /** … … 1041 1052 return $post_states; 1042 1053 } 1054 1055 1056 /** 1057 * Add body class for styles specificity and scope 1058 */ 1059 public function add_body_class( $classes ) { 1060 $classes[] = 'c7wp'; 1061 return $classes; 1062 } 1043 1063 } -
wp-commerce7/trunk/includes/gutenberg/load.php
r3207744 r3216130 6 6 * Author: Michael Bourne 7 7 * ----- 8 * Last Modified: Sunday, December 8th 2024, 1:29:52pm8 * Last Modified: Tuesday, December 17th 2024, 3:46:08 pm 9 9 * Modified By: Michael Bourne 10 10 * ----- … … 61 61 $block_slug, 62 62 plugins_url( $dir . '/' . $element . '/' . $block_slug . '.js', __FILE__ ), 63 [ 'wp-blocks', 'wp-element' , 'wp-editor', 'wp-block-editor'],63 [ 'wp-blocks', 'wp-element' ], 64 64 C7WP_VERSION, 65 65 1
Note: See TracChangeset
for help on using the changeset viewer.