• Hello WordPress!

    I’m authoring a plugin which will allow my WordPress installation to authenticate against my SMF database. So far it’s been pretty easy. I’ve figured out that I need to override the get_user_by() and get_userdata() pluggables to get my authentication system working; however, I’m having issues with User metadata.

    Following along the reference implementation in wp-includes/pluggable.php I’m calling _flll_user() from within both get_userdata() and get_user_by(); however, wordpress never loads the additional metadata associated with the logged in user. The only thing I have in the $user object after the call to _fill_user() is the authentication information from the wp_users table and none of the meta data from wp_usermeta.

    The question is am I calling the right function? If not, what should I be calling?

    Thanks.

  • The topic ‘Authentication Plugin question’ is closed to new replies.