Changeset 3402326
- Timestamp:
- 11/25/2025 08:51:46 AM (4 months ago)
- Location:
- molongui-bump-offer/trunk
- Files:
-
- 1 added
- 4 edited
-
README.txt (modified) (2 diffs)
-
includes/helpers/bump/display.php (modified) (2 diffs)
-
includes/helpers/common/legacy/fw-helper-functions.php (modified) (1 diff)
-
includes/helpers/utils.php (added)
-
molongui-bump-offer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molongui-bump-offer/trunk/README.txt
r3131457 r3402326 4 4 Tags: order bump, bump offer, one-time offer, upsell, sale funnels 5 5 Requires at least: 4.7.0 6 Tested up to: 6. 66 Tested up to: 6.8 7 7 Requires PHP: 5.5.0 8 8 Stable tag: trunk … … 173 173 174 174 == Changelog == 175 176 = 2.6.3 (2025-11-25) = 177 178 * **Fixed**: Extra spacing issue with order bump display on some installations. 179 * **Changed**: Added compatibility with WordPress 6.8. 180 * **Changed**: Added compatibility with WooCommerce 10.3. 175 181 176 182 = 2.6.2 (2024-05-06) = -
molongui-bump-offer/trunk/includes/helpers/bump/display.php
r2612305 r3402326 1 1 <?php 2 defined( 'ABSPATH' ) or exit; 2 3 use Molongui\BumpOffer\Includes\Helpers\Helpers; 4 5 defined( 'ABSPATH' ) or exit; // Exit if accessed directly 3 6 function mbo_display() 4 7 { … … 26 29 if ( mbo_is_displayable( $bump ) ) 27 30 { 28 mbo_render( $bump);31 Helpers::minify_html( mbo_render( $bump ) ); 29 32 } 30 33 } -
molongui-bump-offer/trunk/includes/helpers/common/legacy/fw-helper-functions.php
r2965404 r3402326 337 337 function molongui_parse_array_attribute( $string ) 338 338 { 339 $no_whitespaces = preg_replace( '/\s*,\s*/', ',', filter_var( $string, FILTER_SANITIZE_STRING ) ); 340 $array = explode( ',', $no_whitespaces ); 339 $string = (string) $string; 340 $string = trim( strip_tags( $string ) ); 341 $string = preg_replace( '/\s*,\s*/', ',', $string ); 342 $array = explode( ',', $string ); 343 $array = array_filter( array_map( 'trim', $array ), 'strlen' ); 344 341 345 return $array; 342 346 } -
molongui-bump-offer/trunk/molongui-bump-offer.php
r3131457 r3402326 10 10 * Requires PHP: 5.5.0 11 11 * Requires at least: 5.2.0 12 * Tested up to: 6. 612 * Tested up to: 6.8 13 13 * WC requires at least: 2.5.0 14 * WC tested up to: 9.114 * WC tested up to: 10.3 15 15 * Author: Molongui 16 16 * Author URI: https://www.molongui.com/ 17 17 * License: GPL v3 or later 18 18 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt 19 * Version: 2.6. 219 * Version: 2.6.3 20 20 * 21 21 * This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public … … 39 39 else 40 40 { 41 define( 'MOLONGUI_BUMP_OFFER_VERSION', '2.6. 2' );41 define( 'MOLONGUI_BUMP_OFFER_VERSION', '2.6.3' ); 42 42 define( 'MOLONGUI_BUMP_OFFER_FILE', __FILE__ ); 43 43 define( 'MOLONGUI_BUMP_OFFER_DIR', plugin_dir_path( MOLONGUI_BUMP_OFFER_FILE ) );
Note: See TracChangeset
for help on using the changeset viewer.