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:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user