WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/14/2018 01:34:50 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve some docblocks.

See #42505

File:
1 edited

Legend:

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

    r43571 r43642  
    171171 * @since 2.6.0
    172172 *
    173  * @param string $html
    174  * @param integer $id
    175  * @param string $caption image caption
    176  * @param string $title image title attribute
    177  * @param string $align image css alignment property
    178  * @param string $url image src url
    179  * @param string $size image size (thumbnail, medium, large, full or added with add_image_size() )
    180  * @param string $alt image alt attribute
    181  * @return string
     173 * @param string  $html    The image HTML markup to send.
     174 * @param integer $id      Image attachment ID.
     175 * @param string  $caption Image caption.
     176 * @param string  $title   Image title attribute (not used).
     177 * @param string  $align   Image CSS alignment property.
     178 * @param string  $url     Image source URL (not used).
     179 * @param string  $size    Image size (`thumbnail`, `medium`, `large`, `full`, or added with `add_image_size()`) (not used).
     180 * @param string  $alt     Image `alt` attribute (not used).
     181 * @return string The image HTML markup with caption shortcode.
    182182 */
    183183function image_add_caption( $html, $id, $caption, $title, $align, $url, $size, $alt = '' ) {
Note: See TracChangeset for help on using the changeset viewer.