Private $user_id and $config causes bugs in rwmb_profile_before_save_user

Support MB User Profile Private $user_id and $config causes bugs in rwmb_profile_before_save_userResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16151
    Cédric DagherirCédric Dagherir
    Participant

    Hi,

    After you last release, the var $user_id and $config became private in the User class. But we can't use them anymore in the hooks rwmb_profile_before_save_user and rwmb_profile_after_save_user : the argument $object has these 2 private variables unreachable for testing or if conditions.

    Maybe you should add two getter variables or change these var for public type ?

    Thanks,

    #16169
    Anh TranAnh Tran
    Keymaster

    Hi Cedric, it's fixed in version 1.4.2. Please update.

    #16171
    Cédric DagherirCédric Dagherir
    Participant

    Hi Tran,

    OK thanks. I use AIO, which dont include the 1.4.2... Would you update User Profile in the AIO in the next days ?

    #16175
    Anh TranAnh Tran
    Keymaster

    Yes, I'm finalizing some issues and will release new version for AIO in a few days.

    #16178
    Cédric DagherirCédric Dagherir
    Participant

    OK. Thank you Tran for that and your work !

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