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-includes/ms-load.php

    r28712 r30543  
    3030 *
    3131 * The default directory is wp-content/plugins. To change the default directory
    32  * manually, define <code>WP_PLUGIN_DIR</code> and <code>WP_PLUGIN_URL</code>
    33  * in wp-config.php.
     32 * manually, define `WP_PLUGIN_DIR` and `WP_PLUGIN_URL` in `wp-config.php`.
    3433 *
    3534 * @access private
    3635 * @since 3.1.0
    37  * @return array Files to include
     36 *
     37 * @return array Files to include.
    3838 */
    3939function wp_get_active_network_plugins() {
Note: See TracChangeset for help on using the changeset viewer.