Changeset 2887937
- Timestamp:
- 03/28/2023 12:27:44 AM (3 years ago)
- Location:
- racar-clear-cart-for-woocommerce/trunk
- Files:
-
- 3 edited
-
includes/admin/class-rccwoo_Admin_Options.php (modified) (7 diffs)
-
racar-clear-cart-for-woocommerce.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
racar-clear-cart-for-woocommerce/trunk/includes/admin/class-rccwoo_Admin_Options.php
r2887902 r2887937 348 348 $checked = ( isset( $this->options['rccwoo_enabled'] ) && $this->options['rccwoo_enabled'] == 1 ) ? 1 : 0; 349 349 $html = '<input type="checkbox" id="rccwoo_enabled" name="rccwoo_settings[rccwoo_enabled]" value="1"' . checked( 1, $checked, false ) . '/>'; 350 echo $html;350 echo wp_kses_post( $html ); 351 351 }*/ 352 352 … … 370 370 $checked = ( isset( $this->options['rccwoo_use_default_css_class'] ) ) ? 1 : 0; 371 371 $html = '<input type="checkbox" id="rccwoo_use_default_css_class" name="rccwoo_settings[rccwoo_use_default_css_class]" value="1"' . checked( 1, $checked, false ) . '/>'; 372 echo $html;372 echo wp_kses_post( $html ); 373 373 } 374 374 … … 401 401 $html .= '<div><input type="radio" class="rccwoo_radiobox_1" name="rccwoo_settings[rccwoo_radiobox_1]" value="right"/>' . __( 'Right' , 'racar-clear-cart-for-woocommerce' ) . '</div>'; 402 402 } 403 echo $html;403 echo wp_kses_post( $html ); 404 404 } 405 405 … … 410 410 } 411 411 $html = '<input type="text" id="rccwoo_background" class="rccwoo-colorpicker" name="rccwoo_settings[rccwoo_background]" value="' . $val . '"'; 412 echo $html;412 echo wp_kses_post( $html ); 413 413 } 414 414 … … 419 419 } 420 420 $html = '<input type="text" id="rccwoo_background_hover_color" class="rccwoo-colorpicker" name="rccwoo_settings[rccwoo_background_hover_color]" value="' . $val . '"'; 421 echo $html;421 echo wp_kses_post( $html ); 422 422 } 423 423 … … 428 428 } 429 429 $html = '<input type="text" id="rccwoo_text_color" class="rccwoo-colorpicker" name="rccwoo_settings[rccwoo_text_color]" value="' . $val . '"'; 430 echo $html;430 echo wp_kses_post( $html ); 431 431 } 432 432 … … 437 437 } 438 438 $html = '<input type="text" id="rccwoo_hover_text_color" class="rccwoo-colorpicker" name="rccwoo_settings[rccwoo_hover_text_color]" value="' . $val . '"'; 439 echo $html;439 echo wp_kses_post( $html ); 440 440 } 441 441 442 442 public function rccwoo_rate_render() { 443 443 $html = __( 'Do you like this plugin? Please show your love' , 'racar-clear-cart-for-woocommerce' ) . ' <a href="https://wordpress.org/plugins/racar-clear-cart-for-woocommerce/#reviews" target="_blank">' . __('here' , 'racar-clear-cart-for-woocommerce') . '</a>'; 444 echo $html;444 echo wp_kses_post( $html ); 445 445 } 446 446 447 447 public function rccwoo_support_render() { 448 448 $html = __( 'Do you need help with this plugin? Please open a ticket' , 'racar-clear-cart-for-woocommerce' ) . ' <a href="https://www.paypal.com/paypalme/RafaCarvalhido" target="_blank">' . __('here' , 'racar-clear-cart-for-woocommerce') . '</a>'; 449 echo $html;449 echo wp_kses_post( $html ); 450 450 } 451 451 452 452 public function rccwoo_donate_render() { 453 453 $html = __( 'Do you want to show your love? Please buy me some coffee' , 'racar-clear-cart-for-woocommerce' ) . ' <a href="//wordpress.org/support/plugin/racar-clear-cart-for-woocommerce/" target="_blank">' . __('by clicking here' , 'racar-clear-cart-for-woocommerce') . '</a>'; 454 echo $html;454 echo wp_kses_post( $html ); 455 455 } 456 456 -
racar-clear-cart-for-woocommerce/trunk/racar-clear-cart-for-woocommerce.php
r2887889 r2887937 4 4 * Plugin URI: https://github.com/rafacarvalhido/racar-clear-cart-woo 5 5 * Description: This plugin adds a convenient button to empty the shopping cart. Clear the entire cart with one click. 6 * Version: 2.0. 06 * Version: 2.0.1 7 7 * Author: Rafa Carvalhido 8 8 * Author URI: https://programawordpress.pro.br/blog/contato/rafa-carvalhido/ … … 32 32 33 33 34 // if ( ! function_exists( 'rccwoo_frms' ) ) {35 // // Create a helper function for easy SDK access.36 // function rccwoo_frms() {37 // global $rccwoo_frms;38 39 // if ( ! isset( $rccwoo_frms ) ) {40 // // Include Freemius SDK.41 // require_once dirname(__FILE__) . '/freemius/start.php';42 43 // $rccwoo_frms = fs_dynamic_init( array(44 // 'id' => '4085',45 // 'slug' => 'racar-clear-cart-for-woocommerce',46 // 'type' => 'plugin',47 // 'public_key' => 'pk_024f27cbf8c8271e089caf2b83709',48 // 'is_premium' => false,49 // 'has_addons' => false,50 // 'has_paid_plans' => false,51 // 'menu' => array(52 // 'slug' => 'rccwoo-config',53 // ),54 // ) );55 // }56 57 // return $rccwoo_frms;58 // }59 60 // // Init Freemius.61 // rccwoo_frms();62 // // Signal that SDK was initiated.63 // do_action( 'rccwoo_frms_loaded' );64 // }65 34 66 35 /*=========================================================================*/ … … 87 56 $rccwoo_basename = plugin_basename(__FILE__);//racar-clear-cart-for-woocommerce/racar-clear-cart-for-woocommerce.php 88 57 89 $rccwoo_VERSION = '2.0. 0';58 $rccwoo_VERSION = '2.0.1'; 90 59 91 60 $rccwoo_NOME_STYLESHEET = 'rccwoo-stylesheet'; -
racar-clear-cart-for-woocommerce/trunk/readme.txt
r2887889 r2887937 5 5 Requires at least: 4.9.8 6 6 Tested up to: 6.1.1 7 Stable tag: 2. 2.07 Stable tag: 2.0.1 8 8 WC tested up to: 7.5.1 9 9 Requires PHP: 7.0 … … 116 116 117 117 == Changelog == 118 = 2.0.1 - 2023-03-27 = 119 * Update - Changed the images to be WordPress.org compliant. 120 * Update - Escaped the echos. 121 * Fix - Fixed a bug that threw an error when admin page was not configured by user. 122 118 123 = 2.0.0 - 2023-03-27 = 119 124 * Update - Removal of Freemius platform.
Note: See TracChangeset
for help on using the changeset viewer.