Support » Plugin: Shield Security: Protection with Smarter Automation » autoupdate not updating WPMUDev plugins

  • Hi,
    This is a followup to my previous post, but in more detail. Anyway, I have a membership to WPMUDev, and I have some of their plugins on my site. They can be updated properly using the update page in WordPress, when the WPMUDev dashboard plugin is installed and authenticated. However, when shield tries to autoupdate plugins itself, the updates fail, and I get an email of ‘Plugins updated: Plugin was updated to 1.2.1’ or similar. I was just wondering what could be going wrong. Does Shield hook into the updates mechanism in such a way that premium plugins that require a source outside the WordPress standard API to update wouldn’t autoupdate? If so, could this be fixed? Or could this be something else?

Viewing 1 replies (of 1 total)
  • Plugin Author Paul


    Hi Michael,

    Shield doesn’t run the automatic updates itself, it does, as you suggest, just hook into the WordPress automatic updates system and flag that plugins should automatically update.

    Now, with premium plugins, this is a whole other story. Unfortunately everyone codes these things differently, but I would check with WPMUDev if they’ve tested WordPress automatic updates (when run as a cron, since it is run as the cron) against their plugins’ update engine.

    If they’re not “hooking” at the right place in the WordPress load, then the premium update information may not be available – also, it’s the same if the premium update data is stale, or it’s only accessible when “is_admin()” is true (which is completely pointless, but remarkably very common). Plugin developers are strange… they try to be too clever with their code and “optimize” things, but optimizations typically break straight forward functionality.

    I’m not saying that that’s what’s going on here. But here’s the logic you should use to break-down the source of the error, in this case:

    1) Does WordPress automatic updates work for standard, plugins?

    2) Does WordPress automatic updates work for a particular premium plugin?

    If the answer the (1) is ‘yes’, and the answer to (2) is ‘no’, then the problem isn’t WordPress or Shield. It’s the premium plugin code.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘autoupdate not updating WPMUDev plugins’ is closed to new replies.