Skip to content

Conversation

@szepeviktor
Copy link
Contributor

Found some misspellings with typos and my eyes.

Comment on lines -449 to +453
* @param unknonw $expression the statement to be evaluated as true or false.
* @param unknown $true statement or value returned if $expression is true.
* @param unknown $false statement or value returned if $expression is false.
* @param mixed $expression the statement to be evaluated as true or false.
* @param mixed $true statement or value returned if $expression is true.
* @param mixed $false statement or value returned if $expression is false.
*
* @return unknown
* @return mixed
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no type called unknown.

* If we are within a LIKE expression, we look for \_ and \%, the
* escaped LIKE wildcards, the ones where we want a literal, not a
* wildcard match. We change the \ escape for an ASCII \x1a (SUB) character,
* wildcard match. We change the \ escape for an ASCII \x1A (SUB) character,
Copy link
Contributor Author

@szepeviktor szepeviktor Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hexadecimal digits are usually written with uppercase letters.

@aristath aristath merged commit 3306576 into WordPress:main Jul 20, 2023
@aristath
Copy link
Member

Thank you for working on this @szepeviktor!

Merged 👍

@szepeviktor szepeviktor deleted the fix-typos branch July 20, 2023 08:54
@szepeviktor
Copy link
Contributor Author

Glad to contribute.

JanJakes added a commit that referenced this pull request May 30, 2025
Database configuration and migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants