Plugin Directory

Changeset 680810


Ignore:
Timestamp:
03/12/2013 09:08:57 PM (13 years ago)
Author:
byrev
Message:

add option Clean CacheFolder after Update

Location:
byrev-wp-picshield-hotlink-defence/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • byrev-wp-picshield-hotlink-defence/trunk/byrev-wp-picshield-import-admin.php

    r674819 r680810  
    450450       <p class="submit"> 
    451451        <input style="color: #44f; background: #f7f7f7; height: 30px; font-size: 20px;" type="submit" name="Submit" value="<?php _e('Update Options', _PREFIX_FIELD.'_trdom' ) ?>" /> 
     452        <span> and <b>Clean CacheFolder after Update</b> <input style="width: auto; " type="checkbox" name="clean-cache" value="1"></span>
    452453        <!--
    453454        <input style="width: 30px;" type="checkbox" name="<?=_OPTION_CHECK_RESET;?>" value="1" ><?php _e('Reset to Default', _PREFIX_FIELD.'_trdom' ); ?>
     
    455456        </p> 
    456457    </form>     
    457    
    458 <?php if($_POST[_OPTION_CHECK_UPDATE] == 'Y') : include('byrev-wp-picshield-clearcache.php'); endif; ?>
     458<?php if(isset($_POST['clean-cache'])) : include('byrev-wp-picshield-clearcache.php');  endif; ?>
  • byrev-wp-picshield-hotlink-defence/trunk/byrev-wp-picshield-interface.php

    r680724 r680810  
    44Plugin URI: http://wp-picshield.com/
    55Description: Images Hotlink Protection for Your Wordpress Websites; Anti-Hotlinking images/photos - Extensive Plugin for Watermark Pictures and images links redirect to the original page, based on Invalid Refferers and Boot.
    6 Version: v1.8.9K
     6Version: v1.8.9 K2
    77Author: Emilian Robert Vicol
    88Author URI: http://publicphoto.org/
     
    3434?>
    3535<?php
    36 define('_BYREV_WP_PICSHIELD', '1.8.9K');
     36define('_BYREV_WP_PICSHIELD', '1.8.9 K2');
    3737
    3838define('_WP_BLOG_SERVER_NAME', $_SERVER['SERVER_NAME']);
  • byrev-wp-picshield-hotlink-defence/trunk/readme.txt

    r680724 r680810  
    55Requires at least: 3.5.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.8.9K
     7Stable tag: 1.8.9 K2
    88
    99== Description ==
     
    204204*  add redirection for IE 9/10 and Safari
    205205
     206= 1.8.9 K2 =
     207
     208*  add option: Clean CacheFolder after Update; by default, cache wil not be deleted after every plugin option update, only if this option is checked!!!
     209
    206210== Upgrade Notice ==
    207211
Note: See TracChangeset for help on using the changeset viewer.