mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user