Changeset 3074695
- Timestamp:
- 04/21/2024 06:24:40 PM (21 months ago)
- Location:
- cc-ontario-tax-calculator/trunk
- Files:
-
- 3 edited
-
cc-income-tax-on-layout.php (modified) (1 diff)
-
cc-income-tax-on.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cc-ontario-tax-calculator/trunk/cc-income-tax-on-layout.php
r2633527 r3074695 78 78 <style type="text/css"> 79 79 .CCT-Widget-<?php echo $id; ?>, .CCT-WidgetTitle-<?php echo $id; ?> a, .CCT-WidgetTitle-<?php echo $id; ?> a:visited, .CCT-WidgetSignature-<?php echo $id; ?> a, .CCT-WidgetSignature-<?php echo $id; ?> a:visited, .CCT-WidgetLine-<?php echo $id; ?> { 80 <?php echo (isset( $border_color) ? "border-color:" . $border_color. ";" : ""); ?>81 <?php echo (isset( $bg_color) ? "background-color:" . $bg_color. ";": ""); ?>82 <?php echo (isset( $text_color) ? "color:" . $text_color. " !important;": ""); ?>80 <?php echo (isset( $border_color) ? "border-color:" . esc_attr($border_color) . ";" : ""); ?> 81 <?php echo (isset( $bg_color) ? "background-color:" . esc_attr($bg_color) . ";": ""); ?> 82 <?php echo (isset( $text_color) ? "color:" . esc_attr($text_color) . " !important;": ""); ?> 83 83 } 84 84 85 85 .CCT-Widget-<?php echo $id; ?> input[type=text] { 86 <?php echo (isset( $border_color) ? "border-color:" . $border_color. ";": ""); ?>87 <?php echo (isset( $text_color) ? "color:" . $text_color. ";": ""); ?>88 <?php echo (isset( $input_bg_color) ? "background-color:" . $input_bg_color. ";": ""); ?>86 <?php echo (isset( $border_color) ? "border-color:" . esc_attr($border_color) . ";": ""); ?> 87 <?php echo (isset( $text_color) ? "color:" . esc_attr($text_color) . ";": ""); ?> 88 <?php echo (isset( $input_bg_color) ? "background-color:" . esc_attr($input_bg_color) . ";": ""); ?> 89 89 } 90 90 </style> -
cc-ontario-tax-calculator/trunk/cc-income-tax-on.php
r2633518 r3074695 5 5 Plugin URI: https://calculatorscanada.ca/income-tax-calculator-wordpress-widget/ 6 6 Description: Ontario Income Tax Calculator 2021 7 Version: 0.2021. 17 Version: 0.2021.2 8 8 Author: Calculators Canada 9 9 Author URI: https://calculatorscanada.ca/ 10 10 License: GPL2 11 11 12 Copyright 2013-202 1CalculatorsCanada.CA ([email protected])12 Copyright 2013-2024 CalculatorsCanada.CA ([email protected]) 13 13 This program is free software; you can redistribute it and/or modify 14 14 it under the terms of the GNU General Public License as published by … … 125 125 126 126 // register widget 127 add_action('widgets_init', create_function('', 'return register_widget("cc_income_tax_on");')); 128 127 // add_action('widgets_init', create_function('', 'return register_widget("cc_income_tax_on");')); 128 function cc_income_tax_on_init () 129 { 130 return register_widget('cc_income_tax_on'); 131 } 132 add_action ('widgets_init', 'cc_income_tax_on_init'); 129 133 130 134 // load widget style and javascript files 131 135 function cc_income_tax_on_scripts() { 132 wp_register_style( 'cc-income-tax-on', plugins_url('/cc-income-tax-on.css',__FILE__), NULL, '0.2021. 1');136 wp_register_style( 'cc-income-tax-on', plugins_url('/cc-income-tax-on.css',__FILE__), NULL, '0.2021.2'); 133 137 wp_enqueue_style( 'cc-income-tax-on' ); 134 wp_enqueue_script( 'cc-income-tax-on', plugins_url('/cc-income-tax-on.js',__FILE__), array('jquery'), '0.2021. 1', true );138 wp_enqueue_script( 'cc-income-tax-on', plugins_url('/cc-income-tax-on.js',__FILE__), array('jquery'), '0.2021.2', true ); 135 139 } 136 140 … … 158 162 ); 159 163 if ( $atts['dev_credit'] && !empty($atts['title'])) 160 $atts['title'] = '<a href="https://calculatorscanada.ca/ontario-income-tax-calculator/" target="_blank">' . $atts['title']. '</a>';164 $atts['title'] = '<a href="https://calculatorscanada.ca/ontario-income-tax-calculator/" target="_blank">' . esc_attr($atts['title']) . '</a>'; 161 165 ob_start(); 162 166 load_cc_income_tax_on_calc('cc_income_tax_on_shortcode', $atts['title'], $atts['dev_credit'], $atts['bg_color'], $atts['border_color'], $atts['text_color']); -
cc-ontario-tax-calculator/trunk/readme.txt
r2943713 r3074695 4 4 Tags: Ontario, Canada, income tax calculator, calculator, sidebar, widget, plugin, financial, taxes, shortcode 5 5 Requires at least: 3.0 6 Tested up to: 6. 2.27 Stable tag: 0.2021. 16 Tested up to: 6.5.2 7 Stable tag: 0.2021.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 72 = 0.2021.2 = 73 * Fixed low level vulnerability 74 * Deprecated PHP function fix (create_function() deprecated) 75 72 76 = 0.2021.1 = 73 77 * Income tax calculator updated for fiscal year 2021 … … 99 103 100 104 == Upgrade Notice == 101 * Initial beta release 105 106 = 0.2021.2 = 107 * Fixed low level vulnerability. Immediate update advised. 108 * Deprecated PHP function fix (create_function() deprecated)
Note: See TracChangeset
for help on using the changeset viewer.