Coding Standards: Use strict comparison in wp_get_archives().

Follow-up to [24], [114].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59774


git-svn-id: http://core.svn.wordpress.org/trunk@59116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-02-07 15:08:23 +00:00
parent c7db6678d7
commit aa804df692
2 changed files with 2 additions and 2 deletions

View File

@ -2154,7 +2154,7 @@ function wp_get_archives( $args = '' ) {
if ( $results ) {
$after = $parsed_args['after'];
foreach ( (array) $results as $result ) {
if ( $result->week != $arc_w_last ) {
if ( $result->week !== $arc_w_last ) {
$arc_year = $result->yr;
$arc_w_last = $result->week;
$arc_week = get_weekstartend( $result->yyyymmdd, get_option( 'start_of_week' ) );

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59773';
$wp_version = '6.8-alpha-59774';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.