WordPress.org

Plugin Directory

Changeset 372124


Ignore:
Timestamp:
04/12/11 19:59:45 (3 years ago)
Author:
MrWiblog
Message:

1.2 (2011/04/12)

  • Fixed bug with secure_invite_user_invites_remaining() function
Location:
wordpress-mu-secure-invites/trunk
Files:
2 edited

Legend:

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

    r368370 r372124  
    55Requires at least: 2.7 
    66Tested up to: 3.1 
    7 Stable tag: 1.1.5 
     7Stable tag: 1.6 
    88 
    99Secure Invites is a Wordpress plugin that allows you to only allow invited people to sign up. 
     
    126126== Changelog == 
    127127 
     128= 1.2 (2011/04/12) = 
     129 
     130* Fixed bug with secure_invite_user_invites_remaining() function 
     131 
    128132= 1.1.5 (2011/04/03) = 
    129133 
  • wordpress-mu-secure-invites/trunk/secure_invite.php

    r368370 r372124  
    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.1.5 
     5Version: 1.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-04-03 
     9Date: 2011-04-12 
    1010*/ 
    1111 
    1212function secure_invite_version() { 
    13     return "1.1.4"; 
     13    return "1.2"; 
    1414} 
    1515 
     
    17111711            <p><label for="secure_invite_personalmessage_'.$rand.'">' . __("A personal message (optional)", "secure_invite") . '</label> 
    17121712            <textarea rows="10" cols="50" name="invite-personalmessage" id="secure_invite_personalmessage_'.$rand.'">' . $message . '</textarea></p> 
    1713             <p><input type="submit" id="secure_invite_send_'.$rand.'" name="submit" value="' . __("Send Invitation", "secure_invite") . '" /> ' . secure_invite_user_invites_remaining() . '</p> 
     1713            <p><input type="submit" id="secure_invite_send_'.$rand.'" name="submit" value="' . __("Send Invitation", "secure_invite") . '" /> ' . secure_invite_user_invites_remaining($current_user->id) . '</p> 
    17141714            '; 
    17151715            $nonce = wp_nonce_field( 'secure_invite_send_invite', '_wpnonce', true, false ); 
     
    17671767            <textarea rows="10" cols="50" name="invite-personalmessage" id="secure_invite_personalmessage"></textarea></p> 
    17681768            <p><label for="secure_invite_send">' . __("Send this invitation", "secure_invite") . '</label> 
    1769             <input type="submit" id="secure_invite_send" name="submit" value="' . __("Send Invitation", "secure_invite") . '" /> ' . secure_invite_user_invites_remaining() . '</p> 
     1769            <input type="submit" id="secure_invite_send" name="submit" value="' . __("Send Invitation", "secure_invite") . '" /> ' . secure_invite_user_invites_remaining($current_user->id) . '</p> 
    17701770        </fieldset> 
    17711771        </form> 
     
    21372137            <p class="submit" style="clear:both"> 
    21382138                <input type="submit" name="Submit" class="button-primary" tabindex="4" value="' . __("Send Invitation", "secure_invite") . ' &raquo;" /> '; 
    2139                 echo secure_invite_user_invites_remaining(); 
     2139                global $current_user; 
     2140                echo secure_invite_user_invites_remaining($current_user->id); 
    21402141                echo ' 
    21412142                <input type="hidden" name="invite-action" value="send" /> 
Note: See TracChangeset for help on using the changeset viewer.