mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user