WordPress.org

Plugin Directory

Changeset 425042


Ignore:
Timestamp:
08/17/11 20:09:09 (3 years ago)
Author:
MrWiblog
Message:

Version 1.2.2: Fixed bug with deleting multiple invites

Location:
wordpress-mu-secure-invites/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-mu-secure-invites/trunk/readme.txt

    r392879 r425042  
    55Requires at least: 2.7 
    66Tested up to: 3.2 
    7 Stable tag: 1.2.1 
     7Stable tag: 1.2.2 
    88 
    99Secure Invites is a Wordpress plugin that allows you to only allow invited people to sign up. 
     
    126126== Changelog == 
    127127 
     128= 1.2.2 (2011/08/17) = 
     129 
     130* Fixed bug with deleting multiple invites 
     131 
    128132= 1.2.1 (2011/06/03) = 
    129133 
  • wordpress-mu-secure-invites/trunk/secure_invite.php

    r392879 r425042  
    33Plugin Name: Secure Invites 
    44Description: Stops public signup on your Wordpress MultiSite or BuddyPress site, but allows existing users to email and invite their friend to join your blog community. This plugin is based on a plugin by kt (Gord), from http://www.ikazoku.com. 
    5 Version: 1.2.1 
     5Version: 1.2.2 
    66Author: Chris Taylor 
    77Author URI: http://www.stillbreathing.co.uk 
    88Plugin URI: http://www.stillbreathing.co.uk/wordpress/wordpress-mu-secure-invites/ 
    9 Date: 2011-06-03 
     9Date: 2011-08-17 
    1010*/ 
    1111 
    1212function secure_invite_version() { 
    13     return "1.2.1"; 
     13    return "1.2.2"; 
    1414} 
    1515 
     
    13451345            $emails = str_replace(" ", "+", urldecode(implode("','", $_POST["delete"]))); 
    13461346            $sql = "delete from ".secure_invite_prefix()."invitations 
    1347                     where invited_email in ('" . $wpdb->escape( $emails ) . "');"; 
     1347                    where invited_email in ('" . stripslashes( $wpdb->escape( $emails ) ) . "');"; 
    13481348            if ($wpdb->query($sql)) { 
    13491349                echo '<div id="message" class="updated fade"><p><strong>' . __("The selected invitations have been deleted", "secure_invite") . '</strong></p></div>'; 
Note: See TracChangeset for help on using the changeset viewer.