WordPress.org

Plugin Directory

Changeset 513949


Ignore:
Timestamp:
03/03/12 15:36:08 (2 years ago)
Author:
ozh
Message:

Not starting sessions more than once. See http://code.google.com/p/yourls/issues/detail?id=1044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yourls-wordpress-to-twitter/trunk/plugin.php

    r476261 r513949  
    5757 * 1.5.4:     Fixed: two sprintf issues for the meta box rendering 
    5858              Fixed: Using post type singular label in the meta box 
     59              Fixed: Not starting session if already started 
    5960              Added: two more tags: %X{taxonomy} and %Y{taxonomy}. 
    6061              Improved: tag replacement (when parsing %A, first check if tag is used, and than get's author data and replace) 
     
    6566 
    6667global $wp_ozh_yourls; 
    67 session_start(); 
     68if( !isset( $_SESSION ) ) 
     69    session_start(); 
    6870require_once( dirname(__FILE__).'/inc/core.php' ); 
    6971 
Note: See TracChangeset for help on using the changeset viewer.