Plugin Directory

Changeset 1307331


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

Added fix to prevent the plugin from working when others already used IDNA converter class.

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

Legend:

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

    r1268672 r1307331  
    11<?php
     2
     3namespace WPBlockRefererSpam;
    24
    35/**
  • block-referer-spam/trunk/lib/phlylabs/idna_convert.class.php

    r1268672 r1307331  
    11<?php
     2
     3namespace WPBlockRefererSpam;
     4
    25// {{{ license
    36
    4 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
     7    /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
    58//
    69// +----------------------------------------------------------------------+
  • block-referer-spam/trunk/lib/phlylabs/transcode_wrapper.php

    r1268672 r1307331  
    11<?php
    2 /**
    3  * transcode wrapper functions
    4  * @package IDNA Convert
    5  * @subpackage charset transcoding
    6  * @author Matthias Sommerfeld, <[email protected]>
    7  * @version 0.1.0
    8  */
     2
     3namespace WPBlockRefererSpam;
     4
     5    /**
     6     * transcode wrapper functions
     7     * @package IDNA Convert
     8     * @subpackage charset transcoding
     9     * @author Matthias Sommerfeld, <[email protected]>
     10     * @version 0.1.0
     11     */
    912
    1013/**
  • block-referer-spam/trunk/lib/phlylabs/uctc.php

    r1268672 r1307331  
    11<?php
     2
     3namespace WPBlockRefererSpam;
     4
    25/**
    36 * UCTC - The Unicode Transcoder
  • block-referer-spam/trunk/readme.txt

    r1269344 r1307331  
    33Tags: spam, referer, referrer, blocker, semalt, buttons-for-website, floating-share-buttons, 4webmaster, ilovevitaly, referal, referral, analytics, analytics spam, referer spam, referrer spam, referal spam, referral spam, blacklist, block, blocker, protector, protect, domain, anti referer, anti referrer, anti referral, block analytics, anti-spam, antispam, spambot, spam-bot, spam bot, bot block, googlespam, google spam, seo spam, seo, block spam, apache, spammers, referer attack, referrer attach, referral attack, referer blockieren, referrer blockieren, spam blockieren, domain blockieren, bot, nospam, spam security, wp-spamfree, domain direct, bot redirect, spam redirect, spam filter, bot filter, spam attack
    44Requires at least: 3.0.2
    5 Tested up to: 4.3.1
    6 Stable tag: 1.1.3
     5Tested up to: 4.4
     6Stable tag: 1.1.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494== Changelog ==
    9595
     96= 1.1.4 =
     97* Tested successfully on WordPress latest version (4.4).
     98* Fixed a bug where other plugins could prevent Block Referer Spam from working.
     99* Added box to honor contributors of this plugin.
     100
    96101= 1.1.3 =
    97102* Added Spanish translations!
  • block-referer-spam/trunk/ref-spam-blocker.php

    r1269344 r1307331  
    11<?php
     2
     3namespace WPBlockRefererSpam;
     4
    25/*
    36Plugin Name: Block Referer Spam
     
    58Description: Prevents referer spam from accessing your site and cleans up your Google Analytics in the process.
    69Author: codestic
    7 Version: 1.1.3
     10Version: 1.1.4
    811Author URI: http://codestic.com
    912Text Domain: ref-spam-blocker
     
    1316if (defined('ABSPATH') && !class_exists('RefSpamBlocker')) {
    1417    if (!defined('REFSPAMBLOCKER_VERSION')) {
    15         define('REFSPAMBLOCKER_VERSION', '1.1.3');
     18        define('REFSPAMBLOCKER_VERSION', '1.1.4');
    1619    }
    1720
     
    3841require_once REFSPAMBLOCKER_PATH . 'lib/RefSpamBlocker.php';
    3942
    40 $rsb = new RefSpamBlocker(__FILE__);
     43new RefSpamBlocker(__FILE__);
Note: See TracChangeset for help on using the changeset viewer.