diff --git a/ai-privacy-policy.php b/ai-privacy-policy.php
index 54adf03bd18b958c8d4429dbb81358648b2415ee..cc94d40b575d6484fde934dcc3a1a460c0816dcb 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 fbfdd5827978b205d51a2ba58c0d143df45f9f69..218fe9b2b206c8bcfd7244b471b0d550daf5661a 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 0c6a30b364a54b5da1c9cfa858cfb0fd54058ed7..4887fdf77560b4c66f505b1b479350cc86ca4950 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 9a81ebeb8cba2ab66a08a2e51b95437cf0713aef..ccfb4fd4bbf19801f798be75d16939d2b33dbb16 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 0fe96fc734c99358bd9ffd1123a75133df6f7eb5..597d1963ace2af2ff2c82b06e7309813bc7d0fcc 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 e8c8c9b5485a72e1d3ab84d5dde557959f381a32..bdf5e417916de3b9c3ef4f96bd327c6a69690188 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);
-
-?>