Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53187


Ignore:
Timestamp:
07/25/2021 04:41:19 PM (3 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 Keywords needs-patch added
    • Property Version changed from to 5.5
    • Property Component changed from General to Media
    • Property Summary changed from wp_filter_content_tags added to early to wp_filter_content_tags added too early
  • 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.