Plugin Directory

Changeset 3428522


Ignore:
Timestamp:
12/28/2025 09:07:15 AM (2 months ago)
Author:
themepure
Message:

Updated to 4.0.5

Location:
shopbuild/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • shopbuild/trunk/functions.php

    r3426751 r3428522  
    17371737{
    17381738    extract($args);
    1739     if (file_exists(STOREBUILD_PATH . 'public/woocommerce/' . $name)) {
    1740         include(STOREBUILD_PATH . 'public/woocommerce/' . $name);
     1739    $path = wp_normalize_path(STOREBUILD_PATH . 'public/woocommerce/' . $name);
     1740    if (file_exists($path)) {
     1741        include($path);
    17411742    }
    17421743}
     
    18351836            'name'    => true,
    18361837            'value'   => true,
     1838            'onclick' => true,
     1839            'disabled' => true,
    18371840        ),
    18381841        'abbr'                      => array(
     
    20202023            'title'  =>  true,
    20212024            'size'      =>  true,
    2022             'checked'   => true
     2025            'checked'   => true,
     2026            'onclick'   => true,
     2027            'onchange'  => true,
     2028            'disabled'  => true,
     2029            'readonly'  => true,
     2030            'required'  => true,
    20232031        ),
    20242032        'label' => array(
  • shopbuild/trunk/public/class-pure-wc-shopbuild-public.php

    r3414980 r3428522  
    140140            'is_checkout'  => function_exists('is_checkout') ? is_checkout() : false,
    141141            'ajax_url'     => admin_url('admin-ajax.php'),
     142            'shopbuild_nonce' => wp_create_nonce('shopbuild_nonce'),
    142143            'cart_nonce'   => wp_create_nonce('shopbuild_ajax_add_to_cart'),
    143144            'search_nonce' => wp_create_nonce('shopbuild-search-nonce'),
  • shopbuild/trunk/public/widgets/elementor/single-product-related.php

    r3425313 r3428522  
    665665                <section class="strb-products-grid-wrapper">
    666666                    <?php
    667                     $related_class = count($args['related_products']) >= 4 ? 'strb-product-slider-active strb-el-slider-btn strb-el-slider-dot strb-product-slider' : '';
     667                    $related_class = 'strb-product-slider-active strb-el-slider-btn strb-el-slider-dot strb-product-slider';
    668668                    ?>
    669669                    <div class="<?php echo esc_attr($related_class); ?> <?php echo esc_attr($dot_class); ?>" data-gap="<?php echo esc_js(wp_json_encode($gap)); ?>" data-settings='<?php echo esc_attr(wp_json_encode($slider_settings)); ?>'>
  • shopbuild/trunk/public/woocommerce/checkout/payment-method.php

    r3414980 r3428522  
    2424
    2525    <label for="payment_method_<?php echo esc_attr( $gateway->id ); ?>">
    26         <?php echo esc_html($gateway->get_title()); ?>
    27         <?php echo esc_html($gateway->get_icon()); ?>
     26        <?php echo $gateway->get_title(); ?>
     27        <?php echo $gateway->get_icon(); ?>
    2828    </label>
    2929    <?php if ( $gateway->has_fields() || $gateway->get_description() ) : ?>
  • shopbuild/trunk/public/woocommerce/single-product/tabs/tabs.php

    r3425313 r3428522  
    5353           <?php foreach ( $storebuild_product_tabs as $storebuild_key => $storebuild_product_tab ) : ?>
    5454               <div class="woocommerce-Tabs-panel woocommerce-Tabs-panel--<?php echo esc_attr( $storebuild_key ); ?> panel entry-content wc-tab" id="tab-<?php echo esc_attr( $storebuild_key ); ?>" role="tabpanel" aria-labelledby="tab-title-<?php echo esc_attr( $storebuild_key ); ?>">
    55                    <?php
    56                    if ( isset( $storebuild_product_tab['callback'] ) ) {
     55                <?php
     56                if ( isset( $storebuild_product_tab['callback'] ) ) {
    5757                       if($storebuild_key == 'reviews'){
    5858                           storebuild_get_template('single-product-reviews.php', array('storebuild_product' => $storebuild_product));
    59                        }else{
     59                       } elseif($storebuild_key == 'description'){
     60                           storebuild_get_template('single-product/tabs/description.php');
     61                       } elseif($storebuild_key == 'additional_information'){
     62                           storebuild_get_template('single-product/tabs/additional-information.php');
     63                       } else{
    6064                           call_user_func( $storebuild_product_tab['callback'], $storebuild_key, $storebuild_product_tab );
    6165                       }
  • shopbuild/trunk/readme.txt

    r3426751 r3428522  
    88WC requires at least: 5.6
    99WC tested up to: 8.2
    10 Stable tag: 4.0.4
     10Stable tag: 4.0.5
    1111License: GPLv2
    1212License URI: https://www.gnu.org/licenses/gpl-2.1.html
     
    529529* Fixed array to string conversion warning in product search form.
    530530
     531= 4.0.5 =
     532* Fixed path normalization issues in template loading functions.
     533* Fixed 403 error in products load more functionality by adding missing nonce.
     534* Fixed payment gateway popup issue by allowing onclick attributes and removing HTML escaping from payment method titles.
     535* Updated single product tabs to use custom templates for description and additional information.
     536
    531537= 4.0.4 =
    532538* Added arrow key support for quantity input fields.
  • shopbuild/trunk/shopbuild.php

    r3426751 r3428522  
    1919 * Plugin URI:        https://storebuild.shop
    2020 * Description:       Build your shop with amazing woocommerce tools. Customize your shop and product page. Order invoices, order tracking now in one package.
    21  * Version:           4.0.4
     21 * Version:           4.0.5
    2222 * Author:            ThemePure
    2323 * Author URI:        https://themepure.net
     
    3737}
    3838
    39 define('STOREBUILD_VERSION', '4.0.4');
     39define('STOREBUILD_VERSION', '4.0.5');
    4040define('STOREBUILD_PATH', plugin_dir_path(__FILE__));
    4141define('STOREBUILD_URL', plugins_url('/', __FILE__));
Note: See TracChangeset for help on using the changeset viewer.