[wp-trac] [WordPress Trac] #30473: Inline Docs: Remove invalid markup from DocBlocks

WordPress Trac noreply at wordpress.org
Mon Nov 24 05:29:46 UTC 2014


#30473: Inline Docs: Remove invalid markup from DocBlocks
--------------------------+-----------------------
 Reporter:  DrewAPicture  |       Owner:  rarst
     Type:  defect (bug)  |      Status:  assigned
 Priority:  high          |   Milestone:  4.1
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------

Comment (by DrewAPicture):

 In [changeset:"30540"]:
 {{{
 #!CommitTicketReference repository="" revision="30540"
 Ensure inline code is markdown-escaped as such, HTML tags are removed from
 summaries, and that code snippets in descriptions are properly indented.

 Affects DocBlocks for the following core elements in wp-
 includes/formatting.php:
 * Markdown-indent code snippets in the description for `wptexturize()`
 * Backtick-escape inline code in a parameter description for
 `_wptexturize_pushpop_element()`
 * Backtick-escape inline code in the description for `shortcode_unautop()`
 * Backtick-escape HTML tags in the description for `convert_chars()`
 * Markdown-indent a code snippet in the description for
 `_split_str_by_whitespace()`
 * Backtick-escape an `<img>` tag in the description for
 `translate_smiley()`
 * Add markdown formatting to the description for `links_add_target()`
 * Backtick-escape HTML tags in the description for `wp_strip_all_tags()`

 Props rarst.
 See #30473.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30473#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list