Wrong action name being used in User Profile extension

Support Meta Box AIO Wrong action name being used in User Profile extensionResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12477
    Joe AndersonJoe Anderson
    Participant

    The mb-user-profile/inc/class-mb-user-profile-user.php file is using the wrong action name within the save() function. The After save action is set to "rwmb_profile_after_save_post" instead of "rwmb_profile_after_save_user".

    public function save() {
        do_action( 'rwmb_profile_before_save_user', $this );
    
        if ( $this->user_id ) {
            $this->update();
        } else {
            $this->create();
        }
    
        do_action( 'rwmb_profile_after_save_post', $this );
    
        return $this->error;
    }

    This is true for both the single extension and AIO.

    #12494
    FarheenFarheen
    Participant

    Hello Joe,

    Looks like this is a bug. We are on it to fix the code. Please hang tight.

    Thank you for your patience 🙂
    Much appreciated.

    #12498
    FarheenFarheen
    Participant

    Hey Joe,

    We've fixed and updated the code.

    Enjoy 🙂

    #12501
    Joe AndersonJoe Anderson
    Participant

    Thanks! Is there any way to get access to the Git Repositories for Meta Box and it's extensions? I'm also a developer and would be willing to resolve any issues like this, as well as possible enhancements, myself.

    #12515
    Anh TranAnh Tran
    Keymaster

    Hi Joe,

    I've just invited you to join our team on Bitbucket, where we host all our extensions. Feel free to contribute code. We really appreciate your help!

    #12529
    Joe AndersonJoe Anderson
    Participant

    Awesome, thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.