dddd
Showing
1 changed file
with
13 additions
and
0 deletions
| ... | @@ -51,6 +51,19 @@ define( 'DB_CHARSET', 'utf8mb4' ); | ... | @@ -51,6 +51,19 @@ define( 'DB_CHARSET', 'utf8mb4' ); |
| 51 | define( 'DB_COLLATE', '' ); | 51 | define( 'DB_COLLATE', '' ); |
| 52 | 52 | ||
| 53 | define('ALLOW_UNFILTERED_UPLOADS', true); | 53 | define('ALLOW_UNFILTERED_UPLOADS', true); |
| 54 | |||
| 55 | |||
| 56 | //Disable automatic updates | ||
| 57 | //Disable update notifications | ||
| 58 | define( 'DISALLOW_FILE_MODS', true ); | ||
| 59 | define( 'AUTOMATIC_UPDATER_DISABLED', true ); | ||
| 60 | define( 'WP_AUTO_UPDATE_CORE', false ); | ||
| 61 | add_filter( 'auto_core_update_send_email', '__return_false' ); | ||
| 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 | |||
| 54 | /**#@+ | 67 | /**#@+ |
| 55 | * Authentication Unique Keys and Salts. | 68 | * Authentication Unique Keys and Salts. |
| 56 | * | 69 | * | ... | ... |
-
Please register or sign in to post a comment