Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53187


Ignore:
Timestamp:
07/25/2021 04:41:19 PM (5 years ago)
Author:
sabernhardt
Comment:

The wp_filter_content_tags filter is added to four places in default-filters.php:

Though the_excerpt does not have the do_shortcode filter by default, it could be good to assign the priority of 12 there anyway (in addition to the other three).

(block-template.php has run_shortcode before wp_filter_content_tags)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53187

    • Property Component GeneralMedia
    • Property Keywords needs-patch added
    • Property Summary wp_filter_content_tags added to earlywp_filter_content_tags added too early
    • Property Version5.5
  • Ticket #53187 – Description

    initial v1  
    1 Currently wp_filter_content_tags filter is added to the_content filters with default priority, this mean that if the iframe is outputted by shortcode it will not get the lazy loading attribute.
    2 I think that it should be addded after do_shortcode has run with priority of 12.
     1Currently wp_filter_content_tags filter is added to the_content filters with default priority, this means that if the iframe is outputted by shortcode it will not get the lazy loading attribute.
     2I think that it should be added after do_shortcode has run with priority of 12.