- Fix blank page local

- Fix MU Plugins
This commit is contained in:
Vincent BRIDIER 2020-05-13 16:19:32 +02:00
parent 27a91eaa0e
commit 2f2e112a5f
4 changed files with 8 additions and 23986 deletions

2
.gitignore vendored
View file

@ -25,3 +25,5 @@ wp-content/uploads/*
/oldWP
/ficlog
wp-content/wflogs/*
.idea/

23983
log.txt

File diff suppressed because it is too large Load diff

View file

@ -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 */

View file

@ -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');