Plugin Directory

Changeset 880910

Timestamp:
03/24/2014 02:48:20 PM (10 years ago)
Author:
filosofo
Message:

Pass response data to filter, for version 1.1.0

Location:
wp-restful-single-sign-on
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-restful-single-sign-on/trunk/RestfulSingleSignOnPlugin.php

    r872768 r880910  
    66Author: Austin Matzko
    77Author URI: https://austinmatzko.com
    8 Version: 1.0
     8Version: 1.
    99Text Domain: restful-single-sign-on
    1010*/
     
    446446                            if (!$data instanceof WP_Error) {
    447447                                $user = $db_user;
     448
    448449                                if (0 < count($cookies_to_set)) {
    449450                                    $this->_set_cookies_from_response($cookies_to_set, $cookie_domain, $resp);
     
    461462                            $arbitrary_password = sha1(uniqid(microtime()));
    462463                            $user_id = wp_create_user($username, $arbitrary_password, $data[$email_property]);
     464
    463465                            update_user_meta($user_id, 'first_name', $data[$first_name_property]);
    464466                            update_user_meta($user_id, 'last_name', $data[$last_name_property]);
  • wp-restful-single-sign-on/trunk/readme.txt

    r872768 r880910  
    55Requires at least: 3.8
    66Tested up to: 3.8
    7 Stable tag: 1.0.2
     7Stable tag: 1.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.