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