[wp-trac] [WordPress Trac] #58211: Conditionally skip lazy-loading on images before the loop in classic themes
WordPress Trac
noreply at wordpress.org
Sat May 20 06:06:54 UTC 2023
#58211: Conditionally skip lazy-loading on images before the loop in classic themes
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 6.3
Component: Media | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests has- | Focuses:
testing-info needs-testing | performance
-------------------------------------------------+-------------------------
Comment (by costdev):
== Test Report
Patch tested: REPLACE_WITH_PATCH_URL
=== Steps to Reproduce or Test
1. First step.
2. Second step.
3. 🐞 Bug occurs.
=== Expected Results
When testing a patch to validate it works as expected:
- ✅ What should happen when running the test
=== Environment
- WordPress: 6.3-alpha-55505
- PHP: 7.4.33
- Server: Apache/2.4.56 (Ubuntu)
- Database: mysqli (Server: 5.7.41-0ubuntu0.18.04.1 / Client: mysqlnd
7.4.33)
- Browser: Chrome 113.0.0.0 (Windows 10/11)
- Theme: Twenty Nineteen 2.5
- MU-Plugins: None activated
- Plugins: None activated
==== Actual Results
When reproducing a bug/defect:
- ❌ `loading="lazy"` appeared on the featured image.
When testing the bugfix patch:
- ✅ `loading="lazy"` did not appear on the featured image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58211#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list