- Fix blank page local
- Fix MU Plugins
This commit is contained in:
parent
27a91eaa0e
commit
2f2e112a5f
4 changed files with 8 additions and 23986 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -25,3 +25,5 @@ wp-content/uploads/*
|
|||
/oldWP
|
||||
/ficlog
|
||||
wp-content/wflogs/*
|
||||
|
||||
.idea/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
define( 'WP_CONTENT_DIR', 'D:/sources/www/espri-restauration/wp-content'); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
|
||||
define( 'WP_CONTENT_URL', 'http://espri-restauration.dev/wp-content'); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
|
||||
#define( 'WP_CONTENT_DIR', 'D:/laragon/www/espri-restauration/wp-content'); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
|
||||
#define( 'WP_CONTENT_URL', 'http://esprit-restauration.test/wp-content'); // Do not remove. Removing this line could break your site. Added by Security > Settings > Change Content Directory.
|
||||
|
||||
|
||||
/** PATH GIT */
|
||||
|
|
|
|||
|
|
@ -49,7 +49,10 @@ function remove_comment_author_class( $classes ) {
|
|||
add_filter( 'comment_class' , 'remove_comment_author_class');
|
||||
|
||||
/** Renvoi un message d'erreur global au niveau du login de l'admin afin de ne pas savoir si c'est le login ou le pwd qui est faux */
|
||||
add_filter('login_errors',create_function('$a', "return 'Login ou mot de passe incorrect';"));
|
||||
function fn_login_errors(){
|
||||
return 'Login ou mot de passe incorrect';
|
||||
}
|
||||
add_filter('login_errors', 'fn_login_errors');
|
||||
|
||||
/** Supprime la balise « generator » du flux rss.*/
|
||||
add_filter('get_the_generator_rss2', '__return_false');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue