Plugin Directory

Changeset 1580313

Timestamp:
01/23/2017 01:14:07 PM (8 years ago)
Author:
supersoju
Message:

tagging 1.1.9

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

Legend:

Unmodified
Added
Removed
  • block-referer-spam/trunk

    • Property svn:ignore set to
      deploy.sh
      README.md
      .git
      .gitignore
  • block-referer-spam/trunk/admin/_sidebar.php

    r1370866 r1580313  
    99        <p><?php _e('This plugin does not need any further configuration. Once active and auto-update is enabled, you will barely see any of those nasty spammers any more.', 'ref-spam-blocker'); ?></p>
    1010
    11         <p><?php _e('If you think you found a bug in <b>Block Referer Spam</b>, please contact me and I should be able to fix it within 48 hours.', 'ref-spam-blocker'); ?></p>
     11        <p><?php _e('If you think you found a bug in <b>Block Referer Spam</b>, please contact s.', 'ref-spam-blocker'); ?></p>
    1212
    1313        <hr>
    1414
    15         <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="ref-block-donate-form">
    16             <p><?php _e('In case you really like my plugin, feel free to buy me a coffee &#x2615; or beer &#x1F37A;', 'ref-spam-blocker'); ?></p>
     15        <h3>Block Refer Spam Pro</h3>
    1716
    18             <input type="hidden" name="cmd" value="_s-xclick">
    19             <input type="hidden" name="hosted_button_id" value="P24D3Z3E526BQ">
    20             <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    21             <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
     17        <p><strong>Need to sync your custom block lists across all of your sites? Want access to more curated block lists?</strong></p>
    2218
    23             <p><?php _e('You can also make my day by submitting a positive review on <b><a href="https://wordpress.org/support/view/plugin-reviews/block-referer-spam" target="_blank">WordPress.org</a>!</b>', 'ref-spam-blocker'); ?></p>
    24         </form>
     19        <p><a href="https://www.blockreferspam.com/pro/" target="_blank">Upgrade to Block Refer Spam Pro</a>, starting at only $2/mo</p>
    2520    </div>
    2621</div>
     22
  • block-referer-spam/trunk/admin/dashboard.php

    r1538647 r1580313  
    1414        <?php endif; ?>
    1515    <?php endif; ?>
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
    1629
    1730    <?php if (get_option('ref-spam-block-mode', 'rewrite') == 'rewrite' && (!is_writable(get_home_path() . '.htaccess'))) : ?>
     
    4154
    4255                                    <!-- SETTINGS -->
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
    4370                                    <tr>
    4471                                        <th>
  • block-referer-spam/trunk/lib/RefSpamBlocker.php

    r1538647 r1580313  
    114114            __('All Blocked Sites', 'ref-spam-blocker'),
    115115            'manage_options',
    116             'ref-spam-list/', array(&$this, 'adminBlockedList')
     116            'ref-spam-list/',
     117            array(&$this, 'adminBlockedList')
    117118        );
     119
     120
     121
     122
     123
     124
     125
     126
     127
     128
     129
    118130
    119131        add_action("load-{$hook}", array(&$this, 'updateSettings'));
     
    129141        register_setting('ref-spam-block-settings', 'ref-spam-custom-blocks');
    130142        register_setting('ref-spam-block-settings', 'ref-spam-block-mode');
     143
     144
    131145    }
    132146
     
    165179                $this->resetHtaccess();
    166180            }
     181
     182
     183
     184
     185
    167186        }
    168187    }
     
    228247        file_put_contents($htaccess, $content);
    229248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
     259
     260
     261
     262
     263
     264
     265
     266
     267
     268
     269
     270
     271
     272
     273
     274
     275
     276
     277
     278
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
     301
     302
    230303        return true;
    231304    }
     
    276349
    277350        // create context to send custom blocks back home
     351
     352
     353
     354
     355
     356
     357
     358
     359
     360
     361
     362
     363
     364
     365
     366
     367
     368
    278369        $opts = array(
    279370            'http' =>
    280371                array(
    281372                    'method'  => 'PUT',
    282                     'header'  => array(
    283                         'Content-type: application/json',
    284                         'X-Client-Version: ' . REFSPAMBLOCKER_VERSION,
    285                         'X-URL-Hash: ' . md5(get_site_url()),
    286                         'X-User-Agent: Block Referer Spam v' . REFSPAMBLOCKER_VERSION
    287                     ),
     373                    'header'  => $header_array,
    288374                    'content' => $customBlocks,
    289375                    'timeout' => 30
     
    310396        };
    311397
     398
     399
     400
     401
     402
     403
     404
    312405        // save list
    313406        update_option('ref-blocker-list', $formatted_list);
     407
    314408
    315409        // save last updated stamp
     
    431525
    432526    /**
     527
     528
     529
     530
     531
     532
     533
    433534     * dailyCronjob()
    434535     * Executed daily to update list and htaccess file
  • block-referer-spam/trunk/readme.txt

    r1553061 r1580313  
    33Tags: spam, referer, semalt, buttons-for-website, floating-share-buttons, 4webmaster, ilovevitaly, referal, referral, analytics, analytics spam, referer spam, referrer spam, referal spam, referral spam, anti referer, anti referrer, anti referral, block analytics, anti-spam, spambot, spam-bot, spam bot, bot block, google spam, seo spam, referer attack, referral attack, referer blockieren, referrer blockieren, spam blockieren, bot filter, spam attack
    44Requires at least: 3.0.2
    5 Tested up to: 4.6.1
    6 Stable tag: 1.1.8.5
     5Tested up to: 4..1
     6Stable tag: 1.1.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636* Two methods of blocking: mod_rewrite or WordPress based
    3737
     38
     39
     40
     41
     42
     43
     44
    3845__Examples Blocked__
    3946
     
    4552* ... and many more!
    4653
    47 If you think you found a bug in Referer Spam Blocker, please contact me and I should be able to fix it within 48 hours. Further, if you want to contribute, feel free!
    48 
    49 Moreover, if you have issues with this plugin, please contact me over my website or the support forum here.
     54If you think you found a bug in Referer Spam Blocker, please contact us! Further, if you want to contribute, feel free!
    5055
    5156Anything else, please get in touch!
     
    9499
    95100== Changelog ==
     101
     102
     103
    96104
    97105= 1.1.8.5 =
  • block-referer-spam/trunk/ref-spam-blocker.php

    r1538647 r1580313  
    88Description: Prevents referer spam from accessing your site and cleans up your Google Analytics in the process.
    99Author: supersoju, codestic
    10 Version: 1.1.8.5
     10Version: 1.1.
    1111Author URI: http://supersoju.com
    1212Text Domain: ref-spam-blocker
     
    3636
    3737    define('REFSPAMBLOCKER_PLUGIN_URL', 'https://wordpress.org/plugins/block-referer-spam/');
    38     define('REFSPAMBLOCKER_LIST_URL', 'http://blockreferspam.com');
     38    define('REFSPAMBLOCKER_LIST_URL', 'https://blockreferspam.com');
     39    define('REFSPAMBLOCKER_KEY', '586d3df5da9b55.70906614');
     40
    3941}
    4042
Note: See TracChangeset for help on using the changeset viewer.