• This is more of a general question, I just updated to the version 2.0.17 from 1.3.88 and it broke almost all custom code I had applied to the UM templates.

    I’ve fixed the issues, it was a case of updating my site to use a newer version of PHP, and mostly changing lines like ‘$ultimatemember->shortcodes->loop’ to ‘UM()->shortcodes()->loop’.

    My question is how often major changes like this will happen? I can’t use this plugin in production if updates are going to change core functions like this, unless I rewrite a large number of UM functions in my own code so that if UM change them mine will still work, but re-writing large elements of the plugin in local code seems like an unusual measure to have to take.

    Thanks

Viewing 1 replies (of 1 total)
  • @untitledseven Version 2.x of Ultimate Member was a complete shift away from the previous framework that 1.x worked under. As a result of this, version 2.x of the plugin is a major change noted here

    https://ultimatemember.com/new-website-ultimate-member-2-0-update/

    Essentially, the biggest change was moving away from the Redux Framework onto native WP functions and controls. This meant that the constants and functions needed to be re-written in order to integrate with the WordPress core.

    You’re not alone in your thoughts, but I highly doubt that there will be another major “site breaking” change like this in future, given the backlash this caused within the community. In fairness to UM, they did notify well in advance that 2.x was a complete re-write, but I don’t think this was fully appreciated or understood by most users.

Viewing 1 replies (of 1 total)
  • The topic ‘Updates to core plugin functions broke custom theme code.’ is closed to new replies.