From c1d05d50851774ef2f5d7488764f7920a91055b0 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 5 Aug 2021 03:30:57 +0000 Subject: [PATCH] Coding Standards: Use strict comparisons in `wp-admin/options-discussion.php`. See #53359. Built from https://develop.svn.wordpress.org/trunk@51548 git-svn-id: http://core.svn.wordpress.org/trunk@51159 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-discussion.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 0ee931c9b0..a60bdbc838 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -109,7 +109,7 @@ $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 ); $thread_comments_depth = '
"; endforeach; ?> @@ -299,7 +299,7 @@ $avatar_list = ''; add_filter( 'pre_option_show_avatars', '__return_true', 100 ); foreach ( $avatar_defaults as $default_key => $default_name ) { - $selected = ( $default == $default_key ) ? 'checked="checked" ' : ''; + $selected = ( $default === $default_key ) ? 'checked="checked" ' : ''; $avatar_list .= "\n\t'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 24e735d0b4..0ef171c8b6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51545'; +$wp_version = '5.9-alpha-51548'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.