Support » Plugin: WP Favorite Posts » Text for favorites are empty is not showing

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem too. And I can’t see favorites at all.
    I’m not a big php expert but I’ve looked in the plugin code and found some deprecated functions in it, could that be the problem?
    For example in this function

    function wpfp_get_user_meta($user = "") {
        if (!empty($user)):
            $userdata = get_userdatabylogin($user);
            $user_id = $userdata->ID;
            return get_usermeta($user_id, WPFP_META_KEY);
        else:
            return get_usermeta(wpfp_get_user_id(), WPFP_META_KEY);
        endif;
    }

    there are two deprecated functions: get_userdatabylogin and get_usermeta.
    Unfortunately I tryed to edit the plugin and replace those functions but didn’t manage to solve the problem (because, as I said, I’m not very skilled in php). Any idea someone?

    NOTE: I’m using WP 3.5.0

    Just FYI, someone else posted that moving back to version 1.5.6 will fix this:

    http://wordpress.org/support/topic/favorite-post-lists-no-displaying?replies=2

    You can find it on this page:

    http://wordpress.org/extend/plugins/wp-favorite-posts/developers/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text for favorites are empty is not showing’ is closed to new replies.