Skip to content

Commit

Permalink
Coding Standards: Replace loose comparison in `wp_xmlrpc_server::wp_s…
Browse files Browse the repository at this point in the history
…etOptions()`.

Follow-up to [8114].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

git-svn-id: https://develop.svn.wordpress.org/trunk@59748 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jan 31, 2025
1 parent c5755be commit bb07250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-xmlrpc-server.php
Original file line number Diff line number Diff line change
Expand Up @@ -4330,7 +4330,7 @@ public function wp_setOptions( $args ) {
continue;
}

if ( true == $this->blog_options[ $o_name ]['readonly'] ) {
if ( $this->blog_options[ $o_name ]['readonly'] ) {
continue;
}

Expand Down

0 comments on commit bb07250

Please sign in to comment.