WordPress.org

Plugin Directory

Changeset 354298


Ignore:
Timestamp:
03/02/11 22:23:37 (3 years ago)
Author:
MrWiblog
Message:

1.1.4.1

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

Legend:

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

    r354285 r354298  
    55Requires at least: 2.7 
    66Tested up to: 3.1 
    7 Stable tag: 1.1.4 
     7Stable tag: 1.1.4.1 
    88 
    99Secure Invites is a Wordpress plugin that allows you to only allow invited people to sign up. 
     
    126126== Changelog == 
    127127 
     128= 1.1.4.1 (2011/03/02) = 
     129 
     130* Fixed session_start() bug 
     131 
    128132= 1.1.4 (2011/03/02) = 
    129133 
  • wordpress-mu-secure-invites/trunk/secure_invite.php

    r354285 r354298  
    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.4 
     5Version: 1.1.4.1 
    66Author: Chris Taylor 
    77Author URI: http://www.stillbreathing.co.uk 
     
    3838 
    3939// add the check secure page actions 
    40 add_action('init', 'secure_invite_check_secure_page'); 
     40add_action('init', 'secure_invite_check_secure_page', 1); 
    4141 
    4242// add the activation action 
     
    240240// check secure pages 
    241241function secure_invite_check_secure_page() { 
    242     session_start(); 
     242    if (!headers_sent()) session_start(); 
    243243    // set the invite code 
    244244    if (isset($_POST["invite_code"])) { 
Note: See TracChangeset for help on using the changeset viewer.