summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-date-query.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
commit30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch)
tree39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-includes/class-wp-date-query.php
parentAdding upstream version 6.4.3+dfsg1. (diff)
downloadwordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz
wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/class-wp-date-query.php')
-rw-r--r--wp-includes/class-wp-date-query.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/class-wp-date-query.php b/wp-includes/class-wp-date-query.php
index 7abb321..b8ae954 100644
--- a/wp-includes/class-wp-date-query.php
+++ b/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').
@@ -1057,7 +1057,7 @@ class WP_Date_Query {
* @since 6.0.3
*
* @param string $relation Raw relation key from the query argument.
- * @return string Sanitized relation ('AND' or 'OR').
+ * @return string Sanitized relation. Either 'AND' or 'OR'.
*/
public function sanitize_relation( $relation ) {
if ( 'OR' === strtoupper( $relation ) ) {