Make WordPress Core


Ignore:
Timestamp:
11/24/2014 05:52:45 AM (10 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r30203 r30543  
    23502350 * Filter the media upload mime type list items.
    23512351 *
    2352  * Returned values should begin with an <li> tag.
     2352 * Returned values should begin with an `<li>` tag.
    23532353 *
    23542354 * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.