Make WordPress Core


Ignore:
Timestamp:
11/24/2014 04:41:15 AM (11 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/class-http.php

    r30105 r30536  
    16611661 *
    16621662 * An example can be as seen below.
    1663  * <code>
    1664  * define('WP_PROXY_HOST', '192.168.84.101');
    1665  * define('WP_PROXY_PORT', '8080');
    1666  * define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com, *.wordpress.org');
    1667  * </code>
     1663 *
     1664 *     define('WP_PROXY_HOST', '192.168.84.101');
     1665 *     define('WP_PROXY_PORT', '8080');
     1666 *     define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com, *.wordpress.org');
    16681667 *
    16691668 * @link https://core.trac.wordpress.org/ticket/4011 Proxy support ticket in WordPress.
Note: See TracChangeset for help on using the changeset viewer.