Skip to content

Commit

Permalink
Docs: Fix typo in WP_Date_Query::build_mysql_datetime() DocBlock.
Browse files Browse the repository at this point in the history
Follow-up to [25139].

Props nithi22, benniledl, mukesh27.
Fixes #60067.

git-svn-id: https://develop.svn.wordpress.org/trunk@57189 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 14, 2023
1 parent 09ec7e2 commit f2c78fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-date-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ public function build_value( $compare, $value ) {
*
* @since 3.7.0
*
* @param string|array $datetime An array of parameters or a strotime() string.
* @param string|array $datetime An array of parameters or a strtotime() string.
* @param bool $default_to_max Whether to round up incomplete dates. Supported by values
* of $datetime that are arrays, or string values that are a
* subset of MySQL date format ('Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i').
Expand Down

0 comments on commit f2c78fe

Please sign in to comment.