Created
February 14, 2020 16:27
-
-
Save eewee/e626cf4808eee8bc347ae68d101bd178 to your computer and use it in GitHub Desktop.
wordpress - config custom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// wp-config.php | |
// autorise seulement les updates de securite mineur : | |
define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’); | |
// Empeche install/update de plugins/themes : | |
define( ‘DISALLOW_FILE_MODS’, true ); | |
// Limiter le nombre de revision à 5 | |
define( 'WP_POST_REVISION', 5 ); | |
// Activer | |
define( 'WP_POST_REVISION', true ); | |
// Désactiver | |
define( 'WP_POST_REVISION', false ); | |
// Taille image (NE PAS EN CREER DE TROP) : | |
add_image_size( 'nom_du_format_img', 220, 180, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment