Skip to content

Commit f2c78fe

Browse files
Docs: Fix typo in WP_Date_Query::build_mysql_datetime() DocBlock.
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
1 parent 09ec7e2 commit f2c78fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-date-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ public function build_value( $compare, $value ) {
866866
*
867867
* @since 3.7.0
868868
*
869-
* @param string|array $datetime An array of parameters or a strotime() string.
869+
* @param string|array $datetime An array of parameters or a strtotime() string.
870870
* @param bool $default_to_max Whether to round up incomplete dates. Supported by values
871871
* of $datetime that are arrays, or string values that are a
872872
* subset of MySQL date format ('Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i').

0 commit comments

Comments
 (0)