From fada226ed47a005bdab38562760f8669fe637d9b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 8 Nov 2024 15:52:18 +0000 Subject: [PATCH] Coding Standards: Remove unnecessary `isset()` from `xmlrpc.php`. This removes a redundant `isset( $HTTP_RAW_POST_DATA )` from `xmlrpc.php`, as the variable is already set in the code block immediately preceding the affected line. Follow-up to [3498], [5445], [47926]. Props justlevine. See #52217. Built from https://develop.svn.wordpress.org/trunk@59376 git-svn-id: http://core.svn.wordpress.org/trunk@58762 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- xmlrpc.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 9427225c88..46547c9dac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59374'; +$wp_version = '6.8-alpha-59376'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/xmlrpc.php b/xmlrpc.php index 5929020857..ae73f687a2 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -22,9 +22,7 @@ if ( ! isset( $HTTP_RAW_POST_DATA ) ) { } // Fix for mozBlog and other cases where '