Plugin Directory

Changeset 1224052


Ignore:
Timestamp:
08/18/2015 07:49:39 PM (10 years ago)
Author:
tinkerpriest
Message:

Simple Image Grabber: Updated stable tag

  • Added validation
  • Updated contributor username
  • Updated stability tag
Location:
simple-image-grabber/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-image-grabber/trunk/readme.txt

    r607951 r1224052  
    11=== Simple Image Grabber ===
    2 Contributors: c.bavota
     2Contributors: tinkerpriest
    33Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4W58JWNBHWKK4
    44Tags: posts, images from posts, retrieve images, get images, grab images, post images, pictures, photos
    55Requires at least: 2.7
    6 Tested up to: 3.4
    7 Stable tag: 1.0.3
     6Tested up to: 4.3
     7Stable tag: 1.0.5
    88
    99== Description ==
     
    7575== Change Log ==
    7676
     771.0.5 (2015-8-18)
     78<ul>
     79<li>Added validation</li>
     80<li>Updated contributor username</li>
     81<li>Updated version and stable tag</li>
     82</ul>
     83
    77841.0.4 (2012-10-04)
    7885<ul>
  • simple-image-grabber/trunk/simple-image-grabber.php

    r607909 r1224052  
    55Description: Display one or all images from a post's content.
    66Author: c.bavota
    7 Version: 1.0.4
     7Version: 1.0.5
    88Author URI: http://bavotasan.com
    99License: GPL2
    1010*/
    1111
    12 /*  Copyright 2012  c.bavota  (email : [email protected])
     12/*  Copyright 2015  c.bavota  (email : [email protected])
    1313
    1414    This program is free software; you can redistribute it and/or modify
     
    7070
    7171    // Setup variables according to passed parameters
    72     $size = empty( $width ) ? '' : ' width="' . $width . 'px"';
    73     $size = empty( $height ) ? $size : $size . ' height="' . $height . 'px"';
    74     $class = empty( $class ) ? '' : ' class="' . $class . '"';
    75     $link = empty( $permalink ) ? '' : '<a href="' . get_permalink() . '">';
     72    $size = empty( $width ) ? '' : ' width="' . esc_attr( $width ) . 'px"';
     73    $size = empty( $height ) ? $size : $size . ' height="' . esc_attr( $height ) . 'px"';
     74    $class = empty( $class ) ? '' : ' class="' . esc_attr( $class ) . '"';
     75    $link = empty( $permalink ) ? '' : '<a href="' . esc_url( get_permalink() ) . '">';
    7676    $linkend = empty( $permalink ) ? '' : '</a>';
    7777
Note: See TracChangeset for help on using the changeset viewer.