I read https://codex.wordpress.org/Configuring_Automatic_Background_Updates and few documents Regarding Configuring Automatic Updates
Elegant Themes article says that
add_filter('allow_dev_auto_core_updates', '__return_false');
This will enable all core updates. However, some people may not want nightly builds and development updates included–just the important security, minor and major changes. To disable those add the following bit of code to your functions.php file and you’re all set.
We already decided to go with
// Enable major version updates:
add_filter('allow_major_auto_core_updates', '__return_true');
// Disable minor updates
add_filter('allow_minor_auto_core_updates', '__return_true');
/* Enable Plugin Auto Update */
add_filter('auto_update_plugin', '__return_true');
/* Enable Theme Auto Update */
/* Active Theme get_update_theme sadece adminler icin calistigi icin bunu etkileyemecektir. */
add_filter('auto_update_theme', '__return_true');
// Enable Translation Updates
add_filter('auto_update_translation', '__return_true');
Would you please let us know, for a production site.
1 - What is the true way to go with allow_dev_auto_core_updates ?
2 - Are there any problem to go with minor and major updates enabled?
As we understand,
enabled : we can have problem with new wordpress codes with our current codes so site can go down by code conflicts.
disabled : we can have problem with old wordpress codes there may be important security hole and there will be possible hack? till minor or major update?