WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/28/2020 02:00:26 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML".

This ensures consistent capitalization where appropriate.

Props navidos, desrosj.
Fixes #50473.

File:
1 edited

Legend:

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

    r48185 r48199  
    170170
    171171/**
    172  * Adds image shortcode with caption to editor
     172 * Adds image shortcode with caption to editor.
    173173 *
    174174 * @since 2.6.0
     
    249249
    250250/**
    251  * Private preg_replace callback used in image_add_caption()
     251 * Private preg_replace callback used in image_add_caption().
    252252 *
    253253 * @access private
     
    260260
    261261/**
    262  * Adds image html to editor
     262 * Adds image HTML to editor.
    263263 *
    264264 * @since 2.5.0
     
    277277
    278278/**
    279  * Save a file submitted from a POST request and create an attachment post for it.
     279 * Saves a file submitted from a POST request and create an attachment post for it.
    280280 *
    281281 * @since 2.5.0
     
    284284 * @param int    $post_id   The post ID of a post to attach the media item to. Required, but can
    285285 *                          be set to 0, creating a media item that has no relationship to a post.
    286  * @param array  $post_data Overwrite some of the attachment. Optional.
    287  * @param array  $overrides Override the wp_handle_upload() behavior. Optional.
     286 * @param array  $post_data Optional. Overwrite some of the attachment.
     287 * @param array  $overrides Optional. Override the wp_handle_upload() behavior.
    288288 * @return int|WP_Error ID of the attachment or a WP_Error object on failure.
    289289 */
Note: See TracChangeset for help on using the changeset viewer.