Changeset 2839760
- Timestamp:
- 12/27/2022 10:40:32 AM (3 years ago)
- Location:
- print-o-matic/trunk
- Files:
-
- 3 edited
-
README.md (modified) (1 diff)
-
print-o-matic.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
print-o-matic/trunk/README.md
r2742530 r2839760 5 5 * Tags: print, print element, print shortcode, send to print, print button, print me, jQuery, print page, javascript, twinpictures, plugin oven 6 6 * Requires at least: 4.9 7 * Tested up to: 6. 08 * Stable tag: 2.1. 77 * Tested up to: 6.1.1 8 * Stable tag: 2.1.8 9 9 * License: GPLv2 or later 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
print-o-matic/trunk/print-o-matic.php
r2742530 r2839760 5 5 Plugin URI: https://pluginoven.com/plugins/print-o-matic/ 6 6 Description: Shortcode that adds a printer icon, allowing the user to print the post or a specified HTML element in the post. 7 Version: 2.1. 77 Version: 2.1.8 8 8 Author: twinpictures 9 9 Author URI: https://twinpictures.de … … 18 18 class WP_Print_O_Matic { 19 19 20 var $version = '2.1. 7';20 var $version = '2.1.8'; 21 21 var $domain = 'printomat'; 22 22 var $options_name = 'WP_Print_O_Matic_options'; … … 221 221 } 222 222 if($printicon && $title){ 223 $output = "<div class='printomatic ". $printstyle." ".$class."' id='".$id."' ".$alt_tag." data-print_target='".$target."'></div> <div class='printomatictext' id='".$id."' ".$alt_tag." data-print_target='".$target."'>".$title."</div><div style='clear: both;'></div>";223 $output = "<div class='printomatic ".esc_attr($printstyle)." ".esc_attr($class)."' id='".esc_attr($id)."' ".esc_attr($alt_tag)." data-print_target='".esc_attr($target)."'></div> <div class='printomatictext' id='".esc_attr($id)."' ".esc_attr($alt_tag)." data-print_target='".esc_attr($target)."'>".$title."</div><div style='clear: both;'></div>"; 224 224 } 225 225 else if($printicon){ 226 $output = "<".$tag." class='printomatic ". $printstyle." ".$class."' id='".$id."' ".$alt_tag." data-print_target='".$target."'></".$tag.">";226 $output = "<".$tag." class='printomatic ".esc_attr($printstyle)." ".esc_attr($class)."' id='".esc_attr($id)."' ".esc_attr($alt_tag)." data-print_target='".esc_attr($target)."'></".$tag.">"; 227 227 } 228 228 else if($title){ 229 $output = "<".$tag." class='printomatictext ". $class."' id='".$id."' ".$alt_tag." data-print_target='".$target."'>".$title."</".$tag.">";229 $output = "<".$tag." class='printomatictext ".esc_attr($class)."' id='".esc_attr($id)."' ".esc_attr($alt_tag)." data-print_target='".esc_attr($target)."'>".$title."</".$tag.">"; 230 230 } 231 231 return $output; -
print-o-matic/trunk/readme.txt
r2742530 r2839760 4 4 Tags: print, print element, print shortcode, send to print, print button, print me, jQuery, print page, javascript, twinpictures, plugin oven 5 5 Requires at least: 4.9 6 Tested up to: 6. 07 Stable tag: 2.1. 76 Tested up to: 6.1.1 7 Stable tag: 2.1.8 8 8 Requires PHP: 7.2 9 9 License: GPLv2 or later … … 50 50 51 51 == Changelog == 52 53 = 2.1.8 = 54 * security update. Now the plugin is escaping all shortcode attributes before output. 52 55 53 56 = 2.1.7 = … … 250 253 251 254 == Upgrade Notice == 252 * re-added method of passing default and print-trigger specific data to js script using wp_add_inline_script 253 * added a bit of pause to allow for top and bot html to fully load 254 * pause before print now is for adjustingg the amount of time to let the print preview render before reverting back to display layout 255 255 * security update. Now the plugin is escaping all shortcode attributes before output. 256
Note: See TracChangeset
for help on using the changeset viewer.