From f2c78fe642b307acbb77f21abf85a45ef35b1ca4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 Dec 2023 10:21:40 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-date-query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-date-query.php b/src/wp-includes/class-wp-date-query.php index 7abb3216b5..751bab187d 100644 --- a/src/wp-includes/class-wp-date-query.php +++ b/src/wp-includes/class-wp-date-query.php @@ -866,7 +866,7 @@ class WP_Date_Query { * * @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').