Plugin Directory

Changeset 514946


Ignore:
Timestamp:
03/05/2012 09:51:35 PM (14 years ago)
Author:
smartfin
Message:

0.8.2

Location:
ssi-sumilux/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ssi-sumilux/trunk/SsiUser.php

    r514184 r514946  
    4444        $result = $wpdb->get_results( "SELECT COUNT(*) as cnt FROM $wpdb->users WHERE user_login = '".  $user_data['user_login']."' " );
    4545
     46        var_dump($result);
    4647
    47 
    48         if (!empty($result)){
     48       if ($result[0]->cnt){
    4949             $user_data['user_login'] = $user_data['user_login'] . "-".++$result[0]->cnt;
    5050        }
     
    6262
    6363        $wp_id = wp_insert_user($user_data);
    64         var_dump(add_user_meta( $wp_id, 'ssi_uid', $uid, 1 ));
     64        add_user_meta( $wp_id, 'ssi_uid', $uid, 1 );
    6565
    6666        return $wp_id;
  • ssi-sumilux/trunk/readme.txt

    r514184 r514946  
    55Requires at least: 1.0
    66Tested up to: 3.3.1
    7 Stable tag: 0.8.1
     7Stable tag: 0.8.2
    88
    99This plugin is currently in the experimental stage, we plan to launch it for beta testing in early February, please use with caution.
     
    2929
    3030== Changelog ==
     31=0.8.2=
     32improved user login function
     33
    3134=0.8.1=
    3235Changed method of authentification.
  • ssi-sumilux/trunk/ssi.php

    r514184 r514946  
    44Plugin URI: http://ssi.sumilux.com
    55Description: Plugin for Social Sign-In from   <a href="http://demo.sumilux.com/ssi">Sumilux</a>
    6 Version: 0.8.1
     6Version: 0.8.2
    77Author: Serhiy Martynenko
    88Author URI: [email protected]
     
    1414define('SSI_TEMPLATES_DIR', SSI_DIR . 'templates/');
    1515define("SSI_PLUGIN_URL",WP_PLUGIN_URL.'/'.basename(dirname(__FILE__)));
    16 define("SSI_VERSION", "0.8.1");
     16define("SSI_VERSION", "0.8.2");
    1717
    1818
     
    127127
    128128    }
    129 
    130129
    131130
Note: See TracChangeset for help on using the changeset viewer.