diff --git a/wp-includes/version.php b/wp-includes/version.php index 837b608a7a..5d4dffd2f8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47772'; +$wp_version = '5.5-alpha-47774'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-rss.php b/wp-includes/widgets/class-wp-widget-rss.php index 4e2810a178..385bccfd7e 100644 --- a/wp-includes/widgets/class-wp-widget-rss.php +++ b/wp-includes/widgets/class-wp-widget-rss.php @@ -48,7 +48,7 @@ class WP_Widget_RSS extends WP_Widget { } $url = ! empty( $instance['url'] ) ? $instance['url'] : ''; - while ( stristr( $url, 'http' ) != $url ) { + while ( stristr( $url, 'http' ) !== $url ) { $url = substr( $url, 1 ); } @@ -72,7 +72,7 @@ class WP_Widget_RSS extends WP_Widget { $title = strip_tags( $rss->get_title() ); } $link = strip_tags( $rss->get_permalink() ); - while ( stristr( $link, 'http' ) != $link ) { + while ( stristr( $link, 'http' ) !== $link ) { $link = substr( $link, 1 ); } } @@ -114,7 +114,7 @@ class WP_Widget_RSS extends WP_Widget { * @return array Updated settings to save. */ public function update( $new_instance, $old_instance ) { - $testurl = ( isset( $new_instance['url'] ) && ( ! isset( $old_instance['url'] ) || ( $new_instance['url'] != $old_instance['url'] ) ) ); + $testurl = ( isset( $new_instance['url'] ) && ( ! isset( $old_instance['url'] ) || ( $new_instance['url'] !== $old_instance['url'] ) ) ); return wp_widget_rss_process( $new_instance, $testurl ); }