Plugin Directory

Changeset 776680


Ignore:
Timestamp:
09/22/2013 07:03:39 AM (13 years ago)
Author:
amtyera
Message:

recache link

Location:
amtythumb
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • amtythumb/trunk/amtyThumb.php

    r776588 r776680  
    66
    77Author: Amit Gupta
    8 Version: 3.0.1
     8Version: 3.1.1
    99Author URI: http://article-stack.com/
    1010*/
     
    5252add_action('publish_post','update_thumb');
    5353
     54if(isset($_REQUEST['recache'] != '') && !empty($_REQUEST['recache']) {
     55    amty_putIntoImageCache($_REQUEST['recache'],1);
     56}
     57
     58function getAmtyThumbRecacheLink($pid){
     59    return admin_url( 'options-general.php?page=amtyThumbOptions?recache=' . $pid, 'http' );
     60}
    5461?>
  • amtythumb/trunk/readme.txt

    r776588 r776680  
    55Requires at least: 2.5
    66Tested up to: 3.5
    7 Stable tag: 3.0.1
     7Stable tag: 3.1.1
    88
    99Fetch first image of a post and Resize it. Otherwise resize an image.
     
    7979amty_lead_img($w,$h,1,'','',0);
    8080
     81For direct recaching
     82use getAmtyThumbRecacheLink($pid) somewhere in your theme.
     83
    8184== Frequently Asked Questions ==
    8285
     
    9093            [THZ](http://thinkzarahatke.com/ "amty thumb ")
    9194== Changelog ==
     95
     96= 3.1.1 =
     97* direct recache link.
    9298
    9399= 3.0.1 =
     
    125131== Upgrade Notice ==
    126132
     133= 3.1.1 =
     134* direct recache link.
     135
    127136= 3.0.1 =
    128137* fixed a bug when it tries to resize invalid or broken images
Note: See TracChangeset for help on using the changeset viewer.