Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-script-loader.php

    r46827 r47122  
    3030                 */
    3131                public function filter_script_loader_tag( $tag, $handle ) {
    32                         foreach ( [ 'async', 'defer' ] as $attr ) {
     32                        foreach ( array( 'async', 'defer' ) as $attr ) {
    3333                                if ( ! wp_scripts()->get_data( $handle, $attr ) ) {
    3434                                        continue;
Note: See TracChangeset for help on using the changeset viewer.