Plugin Directory

Changeset 1146678


Ignore:
Timestamp:
04/27/2015 05:06:45 AM (11 years ago)
Author:
M66B
Message:

Fixed displaying FB user profile pictures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r1145921 r1146678  
    26212621
    26222622                    // Get picture url
    2623                     $id = explode('id=', $comment->comment_author_url);
     2623                    $id = explode('id/', str_replace('id=','id/',$comment->comment_author_url));
    26242624                    if (count($id) == 2) {
    26252625                        $fb_picture_url = WPAL2Int::Get_fb_picture_url_cached($id[1], 'normal');
Note: See TracChangeset for help on using the changeset viewer.