From 09be19c618a9df3c3c33569b1107722b66931fe3 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sun, 1 May 2022 11:16:45 +0100 Subject: [PATCH] Style fixes --- ai-privacy-policy.php | 2 -- close-old-comments.php | 2 -- embed.php | 2 -- http-user-agent.php | 2 -- remove-password-change-notification.php | 4 ++-- upload-mime-types.php | 2 -- 6 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ai-privacy-policy.php b/ai-privacy-policy.php index 54adf03..cc94d40 100644 --- a/ai-privacy-policy.php +++ b/ai-privacy-policy.php @@ -11,5 +11,3 @@ function ai_privacy_policy_link(){ return '<a class="privacy-policy-link" href="https://www.autistici.org/who/privacy-policy">Privacy policy</a>'; } add_filter('the_privacy_policy_link', 'ai_privacy_policy_link'); - -?> diff --git a/close-old-comments.php b/close-old-comments.php index fbfdd58..218fe9b 100644 --- a/close-old-comments.php +++ b/close-old-comments.php @@ -39,5 +39,3 @@ add_filter('close_comments_for_post_types', function ($post_types){ return $post_types; }); - -?> diff --git a/embed.php b/embed.php index 0c6a30b..4887fdf 100644 --- a/embed.php +++ b/embed.php @@ -103,5 +103,3 @@ foreach ($noembed_site as $site){ wp_oembed_add_provider('http://www.arkiwi.org/*','http://www.arkiwi.org/oembed/', false ); /* bambuser */ wp_oembed_add_provider('http://*.bambuser.com/*','http://api.bambuser.com/oembed', false); - -?> diff --git a/http-user-agent.php b/http-user-agent.php index 9a81ebe..ccfb4fd 100644 --- a/http-user-agent.php +++ b/http-user-agent.php @@ -10,5 +10,3 @@ add_filter('http_headers_useragent', function(){ return 'WordPress/' . get_bloginfo( 'version' ) . '; ' . network_home_url(); }); - -?> diff --git a/remove-password-change-notification.php b/remove-password-change-notification.php index 0fe96fc..597d196 100644 --- a/remove-password-change-notification.php +++ b/remove-password-change-notification.php @@ -6,5 +6,5 @@ Author: Autistici/Inventati Author URI: https://autistici.org */ - function wp_password_change_notification() {} -?> + +function wp_password_change_notification() {} diff --git a/upload-mime-types.php b/upload-mime-types.php index e8c8c9b..bdf5e41 100644 --- a/upload-mime-types.php +++ b/upload-mime-types.php @@ -27,5 +27,3 @@ add_filter( 'wp_check_filetype_and_ext', function( $types, $file, $filename, $mi } return $types; }, 1, 5); - -?> -- GitLab