[wp-trac] [WordPress Trac] #50569: $context parameter description for sanitize_title_with_dashes()
WordPress Trac
noreply at wordpress.org
Mon Jul 6 09:03:52 UTC 2020
#50569: $context parameter description for sanitize_title_with_dashes()
--------------------------+-----------------------------
Reporter: stevenlinx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords: needs-patch
Focuses: docs |
--------------------------+-----------------------------
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/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50569>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list