#50569 closed defect (bug) (fixed)
$context parameter description for sanitize_title_with_dashes()
| Reported by: | stevenlinx | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
Description
The description for $context should be migrated:
"The context for the sanitation. When set to 'save', additional entities are converted to hyphens or stripped entirely."
Codex:
https://codex.wordpress.org/Function_Reference/sanitize_title_with_dashes
DevHub:
https://developer.wordpress.org/reference/functions/sanitize_title_with_dashes/
Attachments (2)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replace "sanitation" with "sanitization" for consistency with core