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/class-wp-editor.php

    r30385 r30536  
    4949     *                                         when pressing the Tab key in TinyMCE. Defualt ':prev,:next'.
    5050     *     @type string     $editor_css        Intended for extra styles for both Visual and Text editors.
    51      *                                         Should include <style> tags, and can use "scoped". Default empty.
     51     *                                         Should include `<style>` tags, and can use "scoped". Default empty.
    5252     *     @type string     $editor_class      Extra classes to add to the editor textarea elemen. Default empty.
    5353     *     @type bool       $teeny             Whether to output the minimal editor config. Examples include
Note: See TracChangeset for help on using the changeset viewer.