WordPress.org

Ready to get started?Download WordPress

Forums

After the Deadline
Fix deprecated use of get_usermeta() and update_usermeta() functions (1 post)

  1. GabSoftware
    Member
    Posted 2 years ago #

    The update_usermeta() and get_usermeta() functions are deprecated and have been replaced by update_user_meta() and get_user_meta() respectively. Please update the line 24 and 28 of utils.php as follow:

    line 24:
    update_user_meta( $user_id, $name, $value );

    line 28:
    return get_user_meta( $user_id, $name, TRUE );

    Also, there is no $value parameter for the get_usermeta() function.

    http://wordpress.org/extend/plugins/after-the-deadline/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic