Plugin Directory

Changeset 3325229


Ignore:
Timestamp:
07/09/2025 08:03:20 PM (9 months ago)
Author:
rafacarvalhido
Message:

2.1.5 - 2025-07-09

  • Update - Tested on latest and greatest -> WP 6.8.1 and WC 9.9.5
  • Update - Update of internationalization files
  • Update - Update of translations (pt-BR and es-ES)
  • Update - Update of author URL
  • Fix - Fixed minor error when options have not been chosen yet
Location:
racar-clear-cart-for-woocommerce
Files:
36 added
5 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • racar-clear-cart-for-woocommerce/trunk/includes/admin/class-rccwoo_Admin_Options.php

    r2891545 r3325229  
    165165            add_settings_field(
    166166                'rccwoo_radiobox_1',
    167                 '<span class="option-name">' . __( 'Side (float)', 'racar-clear-cart-for-woocommerce' ) . '<span class="quick-exp">(' . __( 'Choose at what side from the update cart button<br>should the clear cart button be', 'racar-clear-cart-for-woocommerce' ) . ')</span></span>',
     167                sprintf(
     168                    '<span class="option-name">%s<span class="quick-exp">(%s<br>%s)</span></span>',
     169                    __( 'Side (float)', 'racar-clear-cart-for-woocommerce' ),
     170                    __( 'Choose at what side from the update cart button', 'racar-clear-cart-for-woocommerce' ),
     171                    __( 'should the clear cart button be', 'racar-clear-cart-for-woocommerce' )
     172                ),
    168173                array( $this , 'rccwoo_radiobox_1_render' ),
    169174                'rccwoo-options-page',
     
    294299                //  }
    295300                // }
    296                 if( isset( $input['rccwoo_background'] ) ) {
     301                if( isset( $input['rccwoo_background'] ) AND ! empty( $input['rccwoo_background'] ) ) {
    297302                    $background = trim( $input['rccwoo_background'] );
    298303                    $background = strip_tags( stripslashes( $background ) );
     
    304309                }
    305310               
    306                 if( isset( $input['rccwoo_background_hover_color'] ) ) {
     311                if( isset( $input['rccwoo_background_hover_color'] ) AND ! empty( $input['rccwoo_background_hover_color'] ) ) {
    307312                    $background = trim( $input['rccwoo_background_hover_color'] );
    308313                    $background = strip_tags( stripslashes( $background ) );
     
    314319                }
    315320               
    316                 if( isset( $input['rccwoo_text_color'] ) ) {
     321                if( isset( $input['rccwoo_text_color'] ) AND ! empty( $input['rccwoo_text_color'] ) ) {
    317322                    $textcolor = trim( $input['rccwoo_text_color'] );
    318323                    $textcolor = strip_tags( stripslashes( $textcolor ) );
     
    324329                }
    325330               
    326                 if( isset( $input['rccwoo_hover_text_color'] ) ) {
     331                if( isset( $input['rccwoo_hover_text_color'] ) AND ! empty( $input['rccwoo_hover_text_color'] ) ) {
    327332                    $textcolor = trim( $input['rccwoo_hover_text_color'] );
    328333                    $textcolor = strip_tags( stripslashes( $textcolor ) );
  • racar-clear-cart-for-woocommerce/trunk/racar-clear-cart-for-woocommerce.php

    r3271929 r3325229  
    44 * Plugin URI:  https://github.com/rafacarvalhido/racar-clear-cart-woo
    55 * Description: This plugin adds a convenient button to empty the shopping cart. Clear the entire cart with one click.
    6  * Version:     2.1.4
     6 * Version:     2.1.5
    77 * Author:      Rafa Carvalhido
    8  * Author URI:  https://programawordpress.pro.br/blog/contato/rafa-carvalhido/
     8 * Author URI:  https://profissionalwp.dev.br/blog/contato/rafa-carvalhido/
    99 * Text Domain: racar-clear-cart-for-woocommerce
    1010 * Domain Path: /languages
    1111 * Requires at least: 4.9.8
    12  * Tested up to: 6.7.2
     12 * Tested up to: 6.8.1
    1313 * WC requires at least: 3.0.0
    14  * WC tested up to: 9.8.1
     14 * WC tested up to: 9.9.5
    1515 * Requires Plugins: woocommerce
    1616 * Requires PHP: 7.4
  • racar-clear-cart-for-woocommerce/trunk/readme.txt

    r3271929 r3325229  
    44Tags: empty cart, clear cart, cart, woo commerce, woocommerce
    55Requires at least: 4.9.8
    6 Tested up to: 6.7.2
    7 Stable tag: 2.1.4
    8 WC tested up to: 9.8.1
     6Tested up to: 6.8.1
     7Stable tag: 2.1.5
     8WC tested up to: 9.9.5
    99Requires Plugins: woocommerce
    1010Requires PHP: 7.4
     
    117117
    118118== Changelog ==
     119= 2.1.5 - 2025-07-09 =
     120* Update - Tested on latest and greatest -> WP 6.8.1 and WC 9.9.5
     121* Update - Update of internationalization files
     122* Update - Update of translations (pt-BR and es-ES)
     123* Update - Update of author URL
     124* Fix - Fixed minor error when options have not been chosen yet
     125
     126
    119127= 2.1.4 - 2025-04-13 =
    120128* Update - Tested on latest and greatest -> WP 6.7.2 and WC 9.8.1
Note: See TracChangeset for help on using the changeset viewer.