Formatting: Update docs for $context in sanitize_title_with_dashes().

Props stevenlinx, audrasjb.
Fixes #50569.


git-svn-id: https://develop.svn.wordpress.org/trunk@49482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2020-11-02 20:10:47 +00:00
parent 61c7935c46
commit 38212b2400

View File

@@ -2216,7 +2216,7 @@ function sanitize_title_for_query( $title ) {
*
* @param string $title The title to be sanitized.
* @param string $raw_title Optional. Not used. Default empty.
* @param string $context Optional. The operation for which the string is sanitized.
* @param string $context Optional. The context for the sanitization. When set to 'save', additional entities are converted to hyphens or stripped entirely.
* Default 'display'.
* @return string The sanitized title.
*/