Custom Fields
Re-Envisioned
Support Meta Box AIO Wrong action name being used in User Profile extension

  • Creator
    Topic
  • #12477
    Resolved Joe 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #12494
    Farheen
    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
    Farheen
    Participant

    Hey Joe,

    We’ve fixed and updated the code.

    Enjoy 🙂

    #12501
    Joe 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 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 Anderson
    Participant

    Awesome, thanks!

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