Opened 12 years ago
Closed 12 years ago
#30954 closed defect (bug) (fixed)
Allow <s> tags in addition to <strike> in title
| Reported by: | paulschreiber | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Formatting | Version: | 4.2 |
| Severity: | normal | Keywords: | has-patch kses |
| Cc: | Focuses: |
Description
Currently, WordPress allows the <strike> tag, which is deprecated/obsolete, but not the <s> tag, which is supported in HTML5:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
Attachments (2)
Change History (10)
#1
@
12 years ago
- Keywords reporter-feedback added
- Type defect (bug) → enhancement
- Version trunk → 4.0
#2
@
12 years ago
- Keywords reporter-feedback removed
- Summary Allow <s> tags in addition to <strike> → Allow <s> tags in addition to <strike> in title
- Type enhancement → defect (bug)
- Version 4.0 → trunk
To clarify, I'm referring to the post_title field. The post_content already allows both tags.
#5
@
12 years ago
- Component General → Formatting
Confirmed. We have <s> in $allowedposttags, but not in $allowedtags.
30954.patch works as expected.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
What does "WordPress allows" mean, exactly? kses, TinyMCE, something else?