Changeset 59465
- Timestamp:
- 11/27/2024 11:38:10 AM (4 days ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r59166 r59465 993 993 $time_difference = $all_options->time_difference; 994 994 995 $server_time = time() + gmdate( 'Z' );995 $server_time = time() + (int) gmdate( 'Z' ); 996 996 $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS; 997 997 $gmt_time = time(); -
trunk/src/wp-includes/class-wp-date-query.php
r57644 r59465 318 318 } 319 319 320 $max_days_of_year = gmdate( 'z', mktime( 0, 0, 0, 12, 31, $_year ) ) + 1;320 $max_days_of_year = (int) gmdate( 'z', mktime( 0, 0, 0, 12, 31, $_year ) ) + 1; 321 321 } else { 322 322 // Otherwise we use the max of 366 (leap-year).
Note: See TracChangeset
for help on using the changeset viewer.