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.


git-svn-id: https://develop.svn.wordpress.org/trunk@30543 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-11-24 05:52:45 +00:00
parent 9a9489db7f
commit 6007c0c17d
3 changed files with 17 additions and 25 deletions
+1 -1
View File
@@ -2349,7 +2349,7 @@ foreach ( $post_mime_types as $mime_type => $label ) {
/**
* Filter the media upload mime type list items.
*
* Returned values should begin with an <li> tag.
* Returned values should begin with an `<li>` tag.
*
* @since 3.1.0
*