WordPress.org

Plugin Directory

Changeset 1402562


Ignore:
Timestamp:
04/23/16 00:41:21 (19 months ago)
Author:
Dev49.net
Message:

Version 2.2.6.1:

  • Fixed get_currentuserinfo() function deprecated notice
Location:
wp-first-letter-avatar
Files:
535 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-first-letter-avatar/trunk/readme.txt

    r1370964 r1402562  
    11=== WP First Letter Avatar === 
    22Plugin Name: WP First Letter Avatar 
    3 Version: 2.2.6 
     3Version: 2.2.6.1 
    44Plugin URI: http://dev49.net 
    55Contributors: Dev49.net, DanielAGW 
    66Tags: avatars, comments, custom avatar, discussion, change avatar, avatar, custom wordpress avatar, first letter avatar, comment change avatar, wordpress new avatar, avatar, initial avatar 
    77Requires at least: 4.4 
    8 Tested up to: 4.4.2 
     8Tested up to: 4.5 
    99Stable tag: trunk 
    1010Author: Dev49.net 
     
    8181 
    8282== Changelog == 
     83 
     84= 2.2.6.1 = 
     85* Fixed get_currentuserinfo() function deprecated notice 
    8386 
    8487= 2.2.6 = 
     
    176179== Upgrade Notice == 
    177180 
     181= 2.2.6.1 = 
     182* Removed deprecated function - update recommended if you are using WP 4.5.x 
     183 
    178184= 2.2.6 = 
    179185Fixed minor issues, updated recommended. 
  • wp-first-letter-avatar/trunk/wp-first-letter-avatar.php

    r1370964 r1402562  
    88 * Contributors: Dev49.net, DanielAGW 
    99 * Description: Set custom avatars for users with no Gravatar. The avatar will be the first (or any other) letter of the user's name on a colorful background. 
    10  * Version: 2.2.6 
     10 * Version: 2.2.6.1 
    1111 * Author: Dev49.net 
    1212 * Author URI: http://dev49.net 
    1313 * Tags: avatars, comments, custom avatar, discussion, change avatar, avatar, custom wordpress avatar, first letter avatar, comment change avatar, wordpress new avatar, avatar, initial avatar 
    1414 * Requires at least: 4.4 
    15  * Tested up to: 4.4.2 
     15 * Tested up to: 4.5 
    1616 * Stable tag: trunk 
    1717 * License: GPLv2 or later 
     
    342342 
    343343        // get user information: 
    344         global $current_user; 
    345         get_currentuserinfo(); 
     344        $current_user = wp_get_current_user(); 
    346345        $name = $current_user->display_name; 
    347346        $email = $current_user->user_email; 
Note: See TracChangeset for help on using the changeset viewer.