Skip to content

Commit d02fa79

Browse files
authored
Fix indentation in wp_checkdate function
1 parent 960e190 commit d02fa79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-includes/functions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7399,9 +7399,9 @@ function wp_is_stream( $path ) {
73997399
function wp_checkdate( $month, $day, $year, $source_date ) {
74007400

74017401
$checkdate = false;
7402-
if ( is_numeric( $month ) && is_numeric( $day ) && is_numeric( $year ) ) {
7403-
$checkdate = checkdate( intval( $month ), intval( $day ), intval( $year ) );
7404-
}
7402+
if ( is_numeric( $month ) && is_numeric( $day ) && is_numeric( $year ) ) {
7403+
$checkdate = checkdate( intval( $month ), intval( $day ), intval( $year ) );
7404+
}
74057405
/**
74067406
* Filters whether the given date is valid for the Gregorian calendar.
74077407
*

0 commit comments

Comments
 (0)