WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47421, comment 2


Ignore:
Timestamp:
07/31/2019 11:07:38 PM (6 months ago)
Author:
archduck
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47421, comment 2

    initial v1  
     1It looks like do_enclose does some checking for duplicate urls already, when it runs the enclosure_links filter - but it doesn't take url fragments into account. This patch adds a check for fragments on new urls and strips them away if present. It only affects the enclosures, so the rest of the markup stays intact.