From 98f8cf0351683d7e631a166096aaa0e5a8f8dedf Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 29 Aug 2017 22:58:06 +0000 Subject: [PATCH] Remove functions not specific to the theme Moved sanitize_user_for_wmes() to general wordpress config Changed to not use phpmailer --- functions.php | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) diff --git a/functions.php b/functions.php index ce21d05..eaf8c04 100644 --- a/functions.php +++ b/functions.php @@ -1,34 +1,5 @@ SMTPSecure = 'tls'; - $phpmailer->SMTPAuth = true; - $phpmailer->Host = 'mail.wikimedia.es:25'; - $phpmailer->Username = 'blog@wikimedia.es'; - $phpmailer->Password = '8b5e81aa7cd67538fc124e3c990a9946'; - $phpmailer->AuthType = 'PLAIN'; - $phpmailer->isSMTP(); -} - -add_action('phpmailer_init', 'wmes_phpmailer_init', 10); - - // Supresión del campo «Web» en comentarios --abián add_filter('comment_form_default_fields', 'url_filtered'); @@ -97,8 +52,3 @@ function url_filtered($fields) return $fields; } - -function skip_filesystem_check($form_post, $type = '', $error = false, $context = false, $extra_fields = null, $allow_relaxed_file_ownership = false ) { - return true; -} -#add_filter('request_filesystem_credentials', 'skip_filesystem_check'); -- 2.30.2