WordPress.org

Make WordPress Core

Changeset 35715


Ignore:
Timestamp:
11/20/2015 06:12:01 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add @see tags for wp_get_attachment_image_srcset() and wp_get_attachment_image_sizes().

Update @see tags for wp_make_content_images_responsive() and wp_image_add_srcset_and_sizes().

Props jaspermdegroot.
See #34733.

File:
1 edited

Legend:

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

    r35696 r35715  
    933933 * @since 4.4.0
    934934 *
     935 * @see wp_calculate_image_srcset()
     936 *
    935937 * @param int          $attachment_id Image attachment ID.
    936938 * @param array|string $size          Optional. Image size. Accepts any valid image size, or an array of
     
    11131115 * @since 4.4.0
    11141116 *
     1117 * @see wp_calculate_image_sizes()
     1118 *
    11151119 * @param int          $attachment_id Image attachment ID.
    11161120 * @param array|string $size          Optional. Image size. Accepts any valid image size, or an array of width
     
    11971201 * @since 4.4.0
    11981202 *
    1199  * @see 'wp_image_add_srcset_and_sizes()'
     1203 * @see wp_image_add_srcset_and_sizes()
    12001204 *
    12011205 * @param string $content The raw post content to be filtered.
     
    12441248 * @since 4.4.0
    12451249 *
    1246  * @see 'wp_get_attachment_image_srcset()'
    1247  * @see 'wp_get_attachment_image_sizes()'
     1250 * @see wp_calculate_image_srcset()
     1251 * @see wp_calculate_image_sizes()
    12481252 *
    12491253 * @param string $image         An HTML 'img' element to be filtered.
Note: See TracChangeset for help on using the changeset viewer.