mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
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:
parent
6629610493
commit
52a592e1b8
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user