Coding Standards: Use strict comparison in wp_xmlrpc_server::wp_deleteCategory().

Follow-up to [20157], [32733].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59660


git-svn-id: http://core.svn.wordpress.org/trunk@59003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-01-17 10:39:18 +00:00
parent 6629610493
commit 52a592e1b8
2 changed files with 3 additions and 3 deletions

View File

@ -3504,7 +3504,7 @@ class wp_xmlrpc_server extends IXR_Server {
$status = wp_delete_term( $category_id, 'category' );
if ( true == $status ) {
if ( true === $status ) {
/**
* Fires after a category has been successfully deleted via XML-RPC.
*
@ -3754,7 +3754,7 @@ class wp_xmlrpc_server extends IXR_Server {
$status = wp_delete_comment( $comment_id );
if ( $status ) {
if ( true === $status ) {
/**
* Fires after a comment has been successfully deleted via XML-RPC.
*

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59659';
$wp_version = '6.8-alpha-59660';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.