Make WordPress Core


Ignore:
Timestamp:
11/24/2014 05:46:04 AM (11 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:

  • Markdown-indent a code snippet in the file header for wp-admin/install-helper.php
  • Add markdown formatting and two inline @see tags to the description for translate()
  • Markdown-indent a code snippet in the description for _n_noop()
  • Remove HTML tags from the summary for get_media_embedded_in_content()
  • Remove an HTML tag from the summary for wpview_media_sandbox_styles()

Props rarst.
See #30473.

File:
1 edited

Legend:

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

    r30501 r30542  
    31013101
    31023102/**
    3103  * Check the content blob for an <audio>, <video> <object>, <embed>, or <iframe>
     3103 * Check the content blob for an audio, video, object, embed, or iframe tags.
    31043104 *
    31053105 * @since 3.6.0
     
    32873287
    32883288/**
    3289  * Return the URls for CSS files used in an <iframe>-sandbox'd TinyMCE media view
     3289 * Return the URLs for CSS files used in an iframe-sandbox'd TinyMCE media view.
    32903290 *
    32913291 * @since 4.0.0
Note: See TracChangeset for help on using the changeset viewer.