Disable WP upgrade core via config file? (2 posts)

  1. Jowy
    Posted 7 years ago #

    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.

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic