Plugin Directory

Changeset 3426495


Ignore:
Timestamp:
12/23/2025 09:03:01 PM (3 months ago)
Author:
naa986
Message:

.v1.1.12 commit

Location:
easy-media-download/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-media-download/trunk/main.php

    r3044660 r3426495  
    22/*
    33Plugin Name: Easy Media Download
    4 Version: 1.1.11
     4Version: 1.1.12
    55Plugin URI: https://noorsplugin.com/easy-media-download-plugin-for-wordpress/
    66Author: naa986
     
    182182    $url = $atts['url'];
    183183    $text = $atts['text'];
    184     $width = $atts['width'];
    185     $height = $atts['height'];
     184    $width = absint($atts['width']);
     185    $height = absint($atts['height']);
    186186    $color = $atts['color'];
    187187    $target = $atts['target'];
     
    278278        $inset = "f4cafc";$start_color = "eea1fc";$end_color = "d441ee";$border = "dd5df4";$dl_color = "ffffff";$text_shadow = "b63dcc";
    279279    }
    280     $styles = <<<EOT
    281     <style type="text/css">
     280   
     281    $temp_styles = <<<EOT
     282           
    282283    .$core_class {
    283284        -moz-box-shadow:inset 0px 1px 0px 0px #$inset;
     
    324325        top:1px;
    325326    }
    326     </style>
    327327EOT;
    328328
     329    $styles = '<style>'
     330    .strip_tags($temp_styles).
     331    '</style>';
     332           
    329333    $css_class = '';       
    330334    if(preg_match("/http/", $text)){
     
    403407    $id = uniqid();
    404408    $core_class = "emd_".$id;
    405     $styles = <<<EOT
    406     <style type="text/css">
     409   
     410    $temp_styles = <<<EOT
     411           
    407412    .$core_class {
    408413        font-family: {$font_family} !important;
     
    421426        $hover_bg_color
    422427    }
    423     </style>   
    424428EOT;
    425        
     429
     430    $styles = '<style>'
     431    .strip_tags($temp_styles).
     432    '</style>';
     433   
    426434    $css_class = '';       
    427435    if(preg_match("/http/", $text)){
  • easy-media-download/trunk/readme.txt

    r3275227 r3426495  
    44Tags: download, downloads, digital downloads, button, buttons
    55Requires at least: 3.0
    6 Tested up to: 6.8
    7 Stable tag: 1.1.11
     6Tested up to: 6.9
     7Stable tag: 1.1.12
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    197197== Changelog ==
    198198
     199= 1.1.12 =
     200* Improved sanitization of the width and height parameters.
     201
    199202= 1.1.11 =
    200203* Added a parameter in the easy_media_download2 shortcode to customize the font family.
Note: See TracChangeset for help on using the changeset viewer.