Changeset 3426495
- Timestamp:
- 12/23/2025 09:03:01 PM (3 months ago)
- Location:
- easy-media-download/trunk
- Files:
-
- 2 edited
-
main.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-media-download/trunk/main.php
r3044660 r3426495 2 2 /* 3 3 Plugin Name: Easy Media Download 4 Version: 1.1.1 14 Version: 1.1.12 5 5 Plugin URI: https://noorsplugin.com/easy-media-download-plugin-for-wordpress/ 6 6 Author: naa986 … … 182 182 $url = $atts['url']; 183 183 $text = $atts['text']; 184 $width = $atts['width'];185 $height = $atts['height'];184 $width = absint($atts['width']); 185 $height = absint($atts['height']); 186 186 $color = $atts['color']; 187 187 $target = $atts['target']; … … 278 278 $inset = "f4cafc";$start_color = "eea1fc";$end_color = "d441ee";$border = "dd5df4";$dl_color = "ffffff";$text_shadow = "b63dcc"; 279 279 } 280 $styles = <<<EOT 281 <style type="text/css"> 280 281 $temp_styles = <<<EOT 282 282 283 .$core_class { 283 284 -moz-box-shadow:inset 0px 1px 0px 0px #$inset; … … 324 325 top:1px; 325 326 } 326 </style>327 327 EOT; 328 328 329 $styles = '<style>' 330 .strip_tags($temp_styles). 331 '</style>'; 332 329 333 $css_class = ''; 330 334 if(preg_match("/http/", $text)){ … … 403 407 $id = uniqid(); 404 408 $core_class = "emd_".$id; 405 $styles = <<<EOT 406 <style type="text/css"> 409 410 $temp_styles = <<<EOT 411 407 412 .$core_class { 408 413 font-family: {$font_family} !important; … … 421 426 $hover_bg_color 422 427 } 423 </style>424 428 EOT; 425 429 430 $styles = '<style>' 431 .strip_tags($temp_styles). 432 '</style>'; 433 426 434 $css_class = ''; 427 435 if(preg_match("/http/", $text)){ -
easy-media-download/trunk/readme.txt
r3275227 r3426495 4 4 Tags: download, downloads, digital downloads, button, buttons 5 5 Requires at least: 3.0 6 Tested up to: 6. 87 Stable tag: 1.1.1 16 Tested up to: 6.9 7 Stable tag: 1.1.12 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 197 197 == Changelog == 198 198 199 = 1.1.12 = 200 * Improved sanitization of the width and height parameters. 201 199 202 = 1.1.11 = 200 203 * Added a parameter in the easy_media_download2 shortcode to customize the font family.
Note: See TracChangeset
for help on using the changeset viewer.