[wp-meta] [Making WordPress.org] #1461: Code Reference parser treats indents in docblocks as blockquotes
Making WordPress.org
noreply at wordpress.org
Fri Dec 11 17:26:27 UTC 2015
#1461: Code Reference parser treats indents in docblocks as blockquotes
----------------------------------------+----------------------------------
Reporter: morganestes | Owner:
Type: defect | Status: new
Priority: normal | Component:
Keywords: has-screenshots needs-patch | developer.wordpress.org
----------------------------------------+----------------------------------
When a function docblock has indented lines in the parameter descriptions,
the parser treats those as blockquote indentations, throwing off the view
of the Developer Resources page.
Example:
https://developer.wordpress.org/reference/functions/get_post_type_labels/
pulls from https://core.trac.wordpress.org/browser/tags/4.4/src/wp-
includes/post.php#L1310, which makes some of the parameters break on when
viewing the docs.
[[Image(https://cldup.com/LVrPgVAS0v.png)]]
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1461>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list