Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #54192, comment 8


Ignore:
Timestamp:
01/04/2025 04:25:49 AM (23 months ago)
Author:
strarsis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54192, comment 8

    v2 v3  
    2525}}}
    2626
    27 Edit (2024): Made the `get_attachment_id_by_rel_url` helper function more robust as URLs in `src` of passed header image attributes can already be relative.
     27Edit (2024): Made the `get_attachment_id_by_rel_url` helper function more robust as URLs in `src` of passed header image attributes can already be full+absolute.
    2828
    2929Note that as the passed header object doesn't contain the actual custom image src (this may be a plugin issue and unrelated to this issue), I have to determine the attachment ID by using its URL.