Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17262, comment 63


Ignore:
Timestamp:
07/07/2022 11:34:30 PM (4 years ago)
Author:
azaozz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17262, comment 63

    initial v1  
    22
    33Media:
    4 - Deprecate wp_get_attachment_thumb_file().
    5 - Make wp_get_attachment_thumb_url() an alias of wp_get_attachment_image_url(). This fixes it to return the proper thumbnail URL and fall back to returning the URL to image_meta['thumb'] if only that exists.
     4- Deprecate `wp_get_attachment_thumb_file()`.
     5- Make `wp_get_attachment_thumb_url()` an alias of `wp_get_attachment_image_url()`. This fixes it to return the proper thumbnail URL and fall back to returning the URL to `$image_meta['thumb']` if only that exists.
    66
    77Props: markhowellsmead, mukesh27, csesumonpro, SergeyBiryukov, mikeschroder, killua99, joemcgill, mashukushibiki, mfgmicha, swissspidy, romulodl, nacin, JoshuaAbenazer, wonderboymusic, lonnylot, azaozz.