To answer your question directly, you can use the file_mod_allowed
filter to override the DISALLOW_FILE_MODS
setting for the automatic updates only. Here is an example of how to do it:
add_filter('file_mod_allowed', 'override_file_mod_allowed', 10, 2);
function override_file_mod_allowed($setting, $context){
if ($context == 'automatic_updater'){
return true;
}
return $setting;
}
The second option, as someone suggested to me in the WordPress IRC channel, is to give the client an editor user role rather than an admin, as this seems to be closer to their needs.
Related Posts:
- How Do I Configure Automatic Updates in WordPress 3.7?
- Will A WordPress automatic update harm my website?
- What is a “forced plugin update”, how can I avoid it and use it for my plugins
- Automatic updates are not working
- Is it possible to prevent website from breaking with auto update?
- Enable automatic minor core updates when root of site is a git repository
- WordPress Health Tool reporting version control as a critical issue
- Unable to get WordPress auto update working on Ubuntu 12.04
- WordPress 3.0.1 Auto Update Problem
- Missing Update Link to 3.02/3.03 on Dashboard
- Change email for update notification
- How does wordpress handle file permissions when automatic updates are enabled?
- How to schedule Automatic WordPress Plugin and Core updates for night times
- Auto Plugin & Core Updates Not Working For Custom Theme
- WordPress updates and Git
- How to debug background/auto update?
- How can I fix my server so core/plugins/theme update don’t silently fail?
- WordPress 3.1 not autoupdating
- WordPress core auto update fails for UpdraftPlus WordPress Backup Plugin
- Automatic updates only in a predefined maintenance window
- Auto updating a single plugin
- Could auto-update delete core WordPress files and cause a white screen of death?
- Changing random post publish time for repost
- WordPress sites got auto upgraded [duplicate]
- How to turn off automatic updates of the WordPress core
- WordPress update fails with a “permission denied” error?
- How to trigger automatic plugin updates in WordPress 5.5
- Adding a banner to the install dialogue of a custom plugin
- Auto generate custom post title
- WordPress 3.3 auto update not working
- How to know current auto-update status of the WordPress core?
- Auto update error messages
- Allow auto-updates on a non-managed WordPress site?
- Will WordPress Auto Update work on a site with Basic Authentication enabled?
- WordPress site auto updates for no reason
- Are automatic background plugin updates for non-WP.org plugins possible?
- Auto Update fail time my external folder deleted
- Stop WordPress from auto updating
- How Do I Configure Automatic Updates in WordPress 3.7?
- Enable automatic plugin update for certain plugins [duplicate]
- Auto generate meta data value in post
- How to upgrade WordPress automatically?
- WordPress Automated Posts Creation
- Alter how often WordPress Auto-Updates Plugins
- How do I exclude plugins from getting automatically updated?
- How to implement WordPress plugin update that modifies the database?
- How to disable core and plugin updates
- Schedule WordPress Auto-Updates to only run during business hours
- Real automated and unattended wordpress upgrade including plugins
- How To/What triggers a WordPress auto update?
- Automate WordPress Database Upgrade
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- Hook into WordPress update?
- Recommended File Permissions
- Plugin update error message
- Is there any way to test if a function running only on plugin update is successfully running?
- Automatic Updates For Private And Commercial Themes?
- How and where can we request new WordPress hooks to be added?
- Plugins won’t auto-update on IIS
- A function to fetch blog content via rss feed
- How can I bulk update all posts without making changes?
- Website not updating – no cache plugins active!
- How to display LinkedIn feed/company updates into WordPress site? [closed]
- Auto backup before automatic WordPress updates
- WordPress DATABASE Update Manually?
- Batch update a post meta field value of each post in Post Type
- Same theme name issue with wordpress repository theme
- Show warning if plugin is missing
- Restored WordPress on new Server – Can’t auto-update plugins
- Where can i find wordpress auto update code flows?
- Can’t update/install plugins or WordPress
- Enable plugin installs without FTP with user from same group as Nginx/PHP-fpm
- Create cron job for update translations automatically
- How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?
- Translation update successful but apparently not
- How could a .htaccess with authentication suddenly appear or change?
- Site Crashes When Updating to WordPress (Version 3.6)
- can’t access backend while frontend works perfect
- IP addresses to block to stop WP auto-update?
- How to back up and up date a site to a newer version?
- How (or where) do I get wordpress plugin update download link?
- Disable Database Update Required ? break my website
- What is the best way to hook a rewrite function for certain php code when plugins are updated?
- Automate post update for all posts?
- how to show current date on post title which should be auto update in every day
- Update main post with same category when creating custom post to update the modified date
- WP-CLI: detect altered core files and restore them automatically
- Possible to automatically update plugin without user interaction
- Is it possible to issue a theme update that requires a new plugin?
- Can’t access dashboard after 4.8.1 automatic upgrade
- Automating svn updates from a server-side cron job
- Correct procedure for fixing broken WP sites after WP version update
- WordPress core update fails – no issues with plugin updates
- Update WordPress from non-public machine
- Custom fields and auto save
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- Update a WordPress website FROM Twitter or Facebook
- Automatic Theme Upgrade hooks?
- WordPress auto update for core but use local package
- How to Replicate Elementor Licensing Model