Plugin Directory

Changeset 3402326


Ignore:
Timestamp:
11/25/2025 08:51:46 AM (4 months ago)
Author:
Molongui
Message:

2.6.3 (2025-11-25)

  • Fixed: Extra spacing issue with order bump display on some installations.
  • Changed: Added compatibility with WordPress 6.8.
  • Changed: Added compatibility with WooCommerce 10.3.
Location:
molongui-bump-offer/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • molongui-bump-offer/trunk/README.txt

    r3131457 r3402326  
    44Tags: order bump, bump offer, one-time offer, upsell, sale funnels
    55Requires at least: 4.7.0
    6 Tested up to: 6.6
     6Tested up to: 6.8
    77Requires PHP: 5.5.0
    88Stable tag: trunk
     
    173173
    174174== 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.
    175181
    176182= 2.6.2 (2024-05-06) =
  • molongui-bump-offer/trunk/includes/helpers/bump/display.php

    r2612305 r3402326  
    11<?php
    2 defined( 'ABSPATH' ) or exit;
     2
     3use Molongui\BumpOffer\Includes\Helpers\Helpers;
     4
     5defined( 'ABSPATH' ) or exit; // Exit if accessed directly
    36function mbo_display()
    47{
     
    2629    if ( mbo_is_displayable( $bump ) )
    2730    {
    28         mbo_render( $bump );
     31        Helpers::minify_html( mbo_render( $bump ) );
    2932    }
    3033}
  • molongui-bump-offer/trunk/includes/helpers/common/legacy/fw-helper-functions.php

    r2965404 r3402326  
    337337    function molongui_parse_array_attribute( $string )
    338338    {
    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
    341345        return $array;
    342346    }
  • molongui-bump-offer/trunk/molongui-bump-offer.php

    r3131457 r3402326  
    1010 * Requires PHP:         5.5.0
    1111 * Requires at least:    5.2.0
    12  * Tested up to:         6.6
     12 * Tested up to:         6.8
    1313 * WC requires at least: 2.5.0
    14  * WC tested up to:      9.1
     14 * WC tested up to:      10.3
    1515 * Author:               Molongui
    1616 * Author URI:           https://www.molongui.com/
    1717 * License:              GPL v3 or later
    1818 * License URI:          http://www.gnu.org/licenses/gpl-3.0.txt
    19  * Version:              2.6.2
     19 * Version:              2.6.3
    2020 *
    2121 * This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
     
    3939else
    4040{
    41     define( 'MOLONGUI_BUMP_OFFER_VERSION', '2.6.2' );
     41    define( 'MOLONGUI_BUMP_OFFER_VERSION', '2.6.3' );
    4242    define( 'MOLONGUI_BUMP_OFFER_FILE', __FILE__ );
    4343    define( 'MOLONGUI_BUMP_OFFER_DIR', plugin_dir_path( MOLONGUI_BUMP_OFFER_FILE ) );
Note: See TracChangeset for help on using the changeset viewer.