[wp-meta] [Making WordPress.org] #1428: Content in Code Reference is HTML encoded, breaking code samples
Making WordPress.org
noreply at wordpress.org
Thu Dec 3 02:59:43 UTC 2015
#1428: Content in Code Reference is HTML encoded, breaking code samples
----------------------------+-------------------------------------
Reporter: morganestes | Owner:
Type: defect | Status: new
Priority: normal | Component: developer.wordpress.org
Keywords: has-screenshots |
----------------------------+-------------------------------------
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.
[[Image(https://cldup.com/IZH6jIa9Lw.png)]]
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1428>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list