#32421 closed defect (bug) (fixed)
The default list of protocols should be documented in wp_allowed_protocols()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | good-first-bug has-patch |
| Focuses: | docs | Cc: |
Description
As suggested by @emiluzelac in #meta1029, we should include the full list of protocols in the documentation for esc_url().
I think the best approach would be to simply document the default list in the DocBlock for wp_allowed_protocols() and cross-reference to the DocBlocks for esc_url() and the kses_allowed_protocols filter.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Thank you :)