Changeset 56164 for trunk/src/wp-includes/media.php
- Timestamp:
- 07/07/2023 06:06:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r56154 r56164 5667 5667 * Skip programmatically created images within post content as they need to be handled together with the other 5668 5668 * images within the post content. 5669 * Without this clause, they would already be counted below which skews the number and can result in the first 5670 * post content image being lazy-loaded only because there are images elsewhere in the post content. 5669 * Without this clause, they would already be considered below which skews the image count and can result in 5670 * the first post content image being lazy-loaded or an image further down the page being marked as a high 5671 * priority. 5671 5672 */ 5672 5673 if ( doing_filter( 'the_content' ) ) { 5673 return $ postprocess( $loading_attrs, true );5674 return $loading_attrs; 5674 5675 } 5675 5676
Note: See TracChangeset
for help on using the changeset viewer.