wp/xmlrpc.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/xmlrpc.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/xmlrpc.php	Fri Sep 05 18:52:52 2025 +0200
@@ -22,9 +22,7 @@
 }
 
 // Fix for mozBlog and other cases where '<?xml' isn't on the very first line.
-if ( isset( $HTTP_RAW_POST_DATA ) ) {
-	$HTTP_RAW_POST_DATA = trim( $HTTP_RAW_POST_DATA );
-}
+$HTTP_RAW_POST_DATA = trim( $HTTP_RAW_POST_DATA );
 // phpcs:enable
 
 /** Include the bootstrap for setting up WordPress environment */