Plugin Directory

Changeset 807156


Ignore:
Timestamp:
11/19/2013 11:07:53 PM (12 years ago)
Author:
graphical_force
Message:

fixed a deprecated function and tested on 3.7.1

Location:
get-user-info/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • get-user-info/trunk/getUserInfo.php

    r606834 r807156  
    44Plugin URI: http://wordpress.org/extend/plugins/get-user-info/
    55Description: Choose to display any of the following for any user: User name, first and last name, avatar, description or website. A title can be added along with a css class to allow styling if needed. Is available as a widget or shortcode. Ex. [userinfo user="User Name" class="CssClass" title="My Title" username="true" name="true" avatar="true" description="true" website="true"].
    6 Version: 1.1
     6Version: 1.2
    77Author: Jeff Freeman
    88Author URI: http://graphicalforce.com
     
    5151        }
    5252               
    53         $user = get_userdatabylogin($user);
     53        $user = get_user_by('login', $user);
    5454        $user_email = $user->user_email;
    5555        if ( $userNameDisplay ) {
  • get-user-info/trunk/readme.txt

    r606834 r807156  
    33Tags: users, user, shortcode
    44Requires at least: 3.0
    5 Tested up to: 3.4.2
    6 Stable tag: 1.1
     5Tested up to: 3.7.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Display the user name, first and last name, avatar, description, or website of any user via widget or shortcode. Other options are title and/or a css class.
     10Display's username, first and last name, avatar, description, or website of any user via widget or shortcode.
    1111
    1212== Description ==
Note: See TracChangeset for help on using the changeset viewer.