Support » Requests and Feedback » Disable WP upgrade core via config file?

  • Yes, there is a crazy person who wants this. I do not want automatic updater to appear in Dashboard, would be nice if it was possible to do throu wp-config file.

    Why? I host and mantain several wordpress blogs, and those people are mostly PC illiterate, plus i just manage each WP instance throu an svn batch I made, and I dont want them to upgrade core script by themselves.

    They dont have config access so this “new feature” would be cool 🙂
    Thank you.

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I don’t see a way to prevent them from trying, but I did see a way to always force a failure, by disabling the WP-Filesystem functions.

    function do_false() { return false; }

    Stick that in a plugin or theme’s functions.php or anywhere where it’ll load at the right time and that’ll break the filesystem, meaning that any attempts to update anything will give a “Could not access filesystem.” error.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable WP upgrade core via config file?’ is closed to new replies.