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

WordPress Trac noreply at wordpress.org
Mon Nov 24 05:52:47 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:"30543"]:
 {{{
 #!CommitTicketReference repository="" revision="30543"
 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:
 * Backtick-escape an HTML tag in the description for the
 `media_upload_mime_type_links()` hook
 * Backtick-escape inline code in the description for
 `wp_get_active_network_plugins()`
 * Remove HTML tags from the summaries for the `nav_menu_css_class`,
 `nav_menu_item_id`, and `nav_menu_link_attributes` hooks
 * Backtick-escape HTML tags, add inline `@see` tags to parameter
 descriptions for the `nav_menu_css_class`, `nav_menu_item_id`, and
 `nav_menu_link_attributes` hooks

 Props rarst.
 See #30473.
 }}}

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


More information about the wp-trac mailing list