[wp-trac] [WordPress Trac] #44427: Introduce lazy-loading API for media and other elements

WordPress Trac noreply at wordpress.org
Wed Apr 1 02:59:26 UTC 2020


#44427: Introduce lazy-loading API for media and other elements
-------------------------------------------------+-------------------------
 Reporter:  mor10                                |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.5
Component:  Media                                |     Version:  5.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion early needs-testing                    |  performance
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 44427.10.diff:
 - Check which quote is used in the `img` tag and use the same for the
 `loading` attribute.
 - Add a test to confirm the single quote support.
 - Fix few small docblock inconsistencies.

 The quote style check also checks whether the img tag is valid, i.e. it
 has a `src` attribute.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44427#comment:103>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list