enable auto-update wordpress core, plugins and themes - how

Einfach Dinge, die nichts mit XAMPP, Apache Friends, Apache, MySQL, PHP und alle dem zu tun haben. Allerlei halt. ;)

enable auto-update wordpress core, plugins and themes - how

Postby unleash_it » 15. December 2019 14:38

i am on Wordpress ver. 5.3

OSver. OpenSuse

I want to enable auto-update wordpress core, plugins and themes. well i have seen some hints that describe this process:

In file wp-config.php I should do some adding:

Code: Select all
define( 'AUTOMATIC_UPDATER_DISABLED', false );
define( 'WP_AUTO_UPDATE_CORE', true );
Also in file /wp-includes/functions.php

add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );

And this settings do not upgrade core, plugins and themes to newest version.

Also I use plugins e.g:
- Easy Updates Manager
- Companion Auto Update
- Simple Automatic Updates

This plugins do not work.


but i guess that i have to do more codecorrections in the wp-config:
Code: Select all
define( 'WP_AUTO_UPDATE_CORE', true );
//this is by default false
and add this to the functions.php

// Disable dev core update
add_filter( 'allow_dev_auto_core_updates', '__return_false' );
// Enable Plugin auto update
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_theme', '__return_true' );

The first line should enables all core updates, and the second line should help to disable the dev core update.


additionally we have to take care that the file permissions match on the server!
Interessen: Bikes & steel frames: Linux & SBC https://www.allaboutcircuits.com :: die neuen Knowledge-Base: AFFiNE: There can be more than Notion and Miro. auf affine.pro :: WordPress Entwicklung - sic: make.wordpress.org/core/
User avatar
unleash_it
 
Posts: 779
Joined: 10. December 2011 18:32
Operating System: linux opensuse 12.1

Re: enable auto-update wordpress core, plugins and themes -

Postby Mariah1902 » 06. March 2020 18:40

I use word press 5.4. I really liked the idea of auto update. Can we do it manually?. Is it available on the version 5.4?. I used to use 5.3 before but I have never enabled auto update. Now I am using 5.4, it is really stable and has almost no bugs. There were really amazing improvements seen in in this version. So I do not want to go back, so if there is a way to enable auto update in 5.4 please do let me know.
Graphic Designer at clipping path service
Mariah1902
 
Posts: 13
Joined: 27. October 2019 16:44
Location: Bangladesh
XAMPP version: qshey90
Operating System: windows 10 pro


Return to Allerlei

Who is online

Users browsing this forum: No registered users and 31 guests