Changeset 47557 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 04/09/2020 03:41:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r47550 r47557 2181 2181 ARRAY_N 2182 2182 ); 2183 2183 2184 if ( $dayswithposts ) { 2184 2185 foreach ( (array) $dayswithposts as $daywith ) { 2185 $daywithpost[] = $daywith[0];2186 $daywithpost[] = (int) $daywith[0]; 2186 2187 } 2187 2188 } … … 2210 2211 } 2211 2212 2212 if ( in_array( $day, $daywithpost ) ) {2213 if ( in_array( $day, $daywithpost, true ) ) { 2213 2214 // Any posts today? 2214 2215 $date_format = gmdate( _x( 'F j, Y', 'daily archives date format' ), strtotime( "{$thisyear}-{$thismonth}-{$day}" ) ); … … 2224 2225 $calendar_output .= $day; 2225 2226 } 2227 2226 2228 $calendar_output .= '</td>'; 2227 2229 … … 2235 2237 $calendar_output .= "\n\t\t" . '<td class="pad" colspan="' . esc_attr( $pad ) . '"> </td>'; 2236 2238 } 2239 2237 2240 $calendar_output .= "\n\t</tr>\n\t</tbody>"; 2238 2241
Note: See TracChangeset
for help on using the changeset viewer.