Make WordPress Core


Ignore:
Timestamp:
11/24/2014 04:41:15 AM (10 years ago)
Author:
DrewAPicture
Message:

Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented.

Affects DocBlocks for the following core elements:

  • Two arguments in _walk_bookmarks()
  • A code snippet in the class header for WP_Roles
  • A code snippet in the class header for WP_HTTP_Proxy
  • Inline code fixes in the summary and a parameter description for WP_oEmbed::discover()
  • An argument description in _WP_Editors::parse_settings()
  • Inline code fixes in the summary and a parameter description the embed_oembed_discover hook.

Props rarst.
See #30473.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/bookmark-template.php

    r29109 r30536  
    3535 *     @type int|bool $show_name        Whether to show link name if available. Accepts 1|true or
    3636 *                                      0|false. Default 0|false.
    37  *     @type string   $before           The HTML or text to prepend to each bookmark. Default '<li>'.
    38  *     @type string   $after            The HTML or text to append to each bookmark. Default '</li>'.
     37 *     @type string   $before           The HTML or text to prepend to each bookmark. Default `<li>`.
     38 *     @type string   $after            The HTML or text to append to each bookmark. Default `</li>`.
    3939 *     @type string   $link_before      The HTML or text to prepend to each bookmark inside the anchor
    4040 *                                      tags. Default empty.
Note: See TracChangeset for help on using the changeset viewer.