Plugin Directory

Changeset 1383734


Ignore:
Timestamp:
04/01/2016 12:48:23 AM (10 years ago)
Author:
writegnj
Message:

update for WordPress 4.5

Location:
favorite-authors/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • favorite-authors/trunk/README.md

    r1316019 r1383734  
    2121* Favorited author number added
    2222
     23= 1.2 =
     24* Replaced get_currentuserinfo() with wp_get_current_user() for WordPress 4.5
     25
    2326
    2427###License: GPLv2 or later
  • favorite-authors/trunk/README.txt

    r1316019 r1383734  
    44Tags: follow author, favorite author, follow, favorite, bookmark author, bookmark, subscribe author, subscribe, like author, like
    55Requires at least: 3.0.1
    6 Tested up to: 4.4
    7 Stable tag: 4.4
     6Tested up to: 4.5
     7Stable tag: 4.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5353= 1.1 =
    5454* Favorited author number added
     55
     56= 1.2 =
     57* Replaced get_currentuserinfo() with wp_get_current_user() for WordPress 4.5
  • favorite-authors/trunk/favorite-authors.php

    r1316019 r1383734  
    55Description: Favorite Authors allows you to add all of your favorite authors on your account.
    66Author: writegnj
    7 Version: 1.1
     7Version: 1.2
    88Author URI: http://www.ohsikpark.com
    99Text Domain: favorite-authors
     
    4949function fav_authors_get_user_id(){
    5050    global $current_user;
    51     get_currentuserinfo();
     51    wp_get_current_user();
    5252    return $current_user->ID;
    5353}
Note: See TracChangeset for help on using the changeset viewer.