Plugin Directory

Changeset 893380


Ignore:
Timestamp:
04/15/2014 05:03:36 AM (12 years ago)
Author:
nathanlampe
Message:

updated fix for csv importing with php 5.4

Location:
bleep-filter/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bleep-filter/trunk/bleep_filter.php

    r803536 r893380  
    44Plugin URI: http://www.filterplugin.com
    55Description: A better word filter that passively removes unwanted words from your wordpress site by easily capturing common misspellings and deliberate obfuscation
    6 Version: 1.0
     6Version: 1.1
    77Author: Nathan Lampe
    88Author URI: http://www.nathanlampe.com
  • bleep-filter/trunk/readme.txt

    r803525 r893380  
    11=== Bleep Filter ===
    2 Contributors: Nathan Lampe
    3 Tags: profanity filter, word filter, content filter, phonetic filter, bleep filter
     2Contributors: Nathan Lampe, Jan Pingel
     3Tags: profanity filter, swear filter, word filter, content filter, phonetic filter, bleep filter
    44Requires at least: 3.5.1
    5 Tested up to: 3.7.1
    6 Stable tag: 1.0
     5Tested up to: 3.8.3
     6Stable tag: 1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 The Bleep Filter plugin is a free and open source advanced content filtering plugin for WordPress. Commonly used as a bad word filter, this plugin offers a variety of applications for your needs. Easily add the words you want to filter out and the plugin will find those words in your blog's comments, posts, and rss feeds and passively replace them in a variety of styles.
     14The Bleep Filter plugin is a free and open source advanced content filtering plugin for WordPress. Commonly used as a bad word filter and swear filter, this plugin offers a variety of applications for your needs. Easily add the words you want to filter out and the plugin will find those words in your blog's comments, posts, and rss feeds and passively replace them in a variety of styles.
    1515
    1616Using a highly advanced phonetic algorithm, not only is the spelling being detected but also how the word sounds. This makes it much more difficult for mischievous posters to bypass the filter intentionally.
     
    4242
    4343== Changelog ==
     44= 1.1 =
     45* Fix for PHP 5.4 csv importing
     46
    4447= 1.0 =
    4548* improved word matching and performance
     
    6063== Upgrade notice ==
    6164
    62 = 1.0 =
    63 This version now includes improved matching and performance. Can now replace bad words with a replacement word.
     65= 1.1 =
     66Updated to fix csv importing for PHP 5.4
  • bleep-filter/trunk/wpadmin.class.php

    r803527 r893380  
    209209    }
    210210   
    211     public function import_bleeps($_FILES){
     211    public function import_bleeps($files){
    212212        if ( is_admin() ) {
    213             if($_FILES){
     213            if($files){
    214214                ini_set('auto_detect_line_endings',TRUE);
    215215                $csv = '';
    216216                $type = '';
    217                 if($_FILES['bleep_words']){
    218                     $csv = $_FILES['bleep_words']['tmp_name'];
     217                if($files['bleep_words']){
     218                    $csv = $files['bleep_words']['tmp_name'];
    219219                    $type = "bleep_filter_words";
    220220                }
    221                 elseif($_FILES['bleep_exceptions']){
    222                     $csv = $_FILES['bleep_exceptions']['tmp_name'];
     221                elseif($files['bleep_exceptions']){
     222                    $csv = $files['bleep_exceptions']['tmp_name'];
    223223                    $type = "bleep_exception";
    224224                }
Note: See TracChangeset for help on using the changeset viewer.