Plugin Directory

Changeset 1307340


Ignore:
Timestamp:
12/13/2015 12:49:52 PM (10 years ago)
Author:
codestic
Message:

Added functionality to backup previous .htaccess for easy restore in case of emergency.

Location:
block-referer-spam/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • block-referer-spam/trunk/lib/RefSpamBlocker.php

    r1307331 r1307340  
    188188        $lines[] = '</IfModule>';
    189189
     190        // create copy of current .htaccess
     191        copy($htaccess, $htaccess . '.bak');
     192
    190193        // update htaccess
    191194        insert_with_markers($htaccess, 'Referer Spam Blocker', $lines);
  • block-referer-spam/trunk/readme.txt

    r1307331 r1307340  
    9494== Changelog ==
    9595
     96= 1.1.5 =
     97* Added functionality to backup previous .htaccess in case something goes wrong.
     98
    9699= 1.1.4 =
    97100* Tested successfully on WordPress latest version (4.4).
  • block-referer-spam/trunk/ref-spam-blocker.php

    r1307331 r1307340  
    88Description: Prevents referer spam from accessing your site and cleans up your Google Analytics in the process.
    99Author: codestic
    10 Version: 1.1.4
     10Version: 1.1.5
    1111Author URI: http://codestic.com
    1212Text Domain: ref-spam-blocker
     
    1616if (defined('ABSPATH') && !class_exists('RefSpamBlocker')) {
    1717    if (!defined('REFSPAMBLOCKER_VERSION')) {
    18         define('REFSPAMBLOCKER_VERSION', '1.1.4');
     18        define('REFSPAMBLOCKER_VERSION', '1.1.5');
    1919    }
    2020
Note: See TracChangeset for help on using the changeset viewer.