Opened 10 years ago
Closed 10 years ago
#1428 closed defect (bug) (fixed)
Content in Code Reference is HTML encoded, breaking code samples
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Developer Hub | Keywords: | has-screenshots |
| Cc: |
Description
Brought to my attention in Slack yesterday, the post content in the Code Reference function references posts is HTML encoded, so things like => in array declarations turn into =>. Comments (contributed examples) are parsed okay and show the expected output; it's just the main post content that gets messed up.
https://developer.wordpress.org/reference/functions/add_query_arg/ is an example reference page that shows this in action.
Change History (2)
Note: See
TracTickets for help on using
tickets.

In 2153: