WordPress.org

Support

Support » Plugins and Hacks » After the Deadline » [Plugin: After the Deadline] Fix deprecated use of get_usermeta() and update_usermeta() functions

[Plugin: After the Deadline] Fix deprecated use of get_usermeta() and update_usermeta() functions

  • 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/

  • The topic ‘[Plugin: After the Deadline] Fix deprecated use of get_usermeta() and update_usermeta() functions’ is closed to new replies.
Skip to toolbar