fp
Showing
2 changed files
with
6 additions
and
5 deletions
| ... | @@ -58,11 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true); | ... | @@ -58,11 +58,7 @@ define('ALLOW_UNFILTERED_UPLOADS', true); |
| 58 | define( 'DISALLOW_FILE_MODS', true ); | 58 | define( 'DISALLOW_FILE_MODS', true ); |
| 59 | define( 'AUTOMATIC_UPDATER_DISABLED', true ); | 59 | define( 'AUTOMATIC_UPDATER_DISABLED', true ); |
| 60 | define( 'WP_AUTO_UPDATE_CORE', false ); | 60 | define( 'WP_AUTO_UPDATE_CORE', false ); |
| 61 | add_filter( 'auto_core_update_send_email', '__return_false' ); | 61 | |
| 62 | add_filter( 'auto_update_plugin', '__return_false' ); | ||
| 63 | add_filter('pre_site_transient_update_plugins','remove_core_updates'); | ||
| 64 | add_filter( 'auto_update_theme', '__return_false' ); | ||
| 65 | add_filter('pre_site_transient_update_themes','remove_core_updates'); | ||
| 66 | 62 | ||
| 67 | /**#@+ | 63 | /**#@+ |
| 68 | * Authentication Unique Keys and Salts. | 64 | * Authentication Unique Keys and Salts. | ... | ... |
| ... | @@ -8,6 +8,11 @@ | ... | @@ -8,6 +8,11 @@ |
| 8 | // Exit if accessed directly. | 8 | // Exit if accessed directly. |
| 9 | defined( 'ABSPATH' ) || exit; | 9 | defined( 'ABSPATH' ) || exit; |
| 10 | 10 | ||
| 11 | add_filter( 'auto_core_update_send_email', '__return_false' ); | ||
| 12 | add_filter( 'auto_update_plugin', '__return_false' ); | ||
| 13 | add_filter('pre_site_transient_update_plugins','remove_core_updates'); | ||
| 14 | add_filter( 'auto_update_theme', '__return_false' ); | ||
| 15 | add_filter('pre_site_transient_update_themes','remove_core_updates'); | ||
| 11 | 16 | ||
| 12 | 17 | ||
| 13 | /** | 18 | /** | ... | ... |
-
Please register or sign in to post a comment