Make WordPress Core

Changeset 51395


Ignore:
Timestamp:
07/10/2021 10:39:44 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add missing semicolon to endforeach keywords in media templates.

Follow-up to [27411], [27440].

Props vishitshah, mukesh27, nielslange, sabernhardt.
Fixes #46103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r50556 r51395  
    2929                #> <?php echo $attr; ?><#
    3030        }
    31         <?php endforeach ?>#>
     31        <?php endforeach; ?>#>
    3232>
    3333        <# if ( ! _.isEmpty( data.model.src ) ) { #>
     
    124124                #> <?php echo $attr; ?><#
    125125        }
    126         <?php endforeach ?>#>
     126        <?php endforeach; ?>#>
    127127>
    128128        <# if ( ! _.isEmpty( data.model.src ) ) {
     
    12781278                                </span>
    12791279                                <# } #>
    1280                                 <?php endforeach ?>
     1280                                <?php endforeach; ?>
    12811281
    12821282                                <# if ( ! _.isEmpty( html5types ) ) { #>
     
    13681368                                </span>
    13691369                                <# } #>
    1370                                 <?php endforeach ?>
     1370                                <?php endforeach; ?>
    13711371                                </div>
    13721372
Note: See TracChangeset for help on using the changeset viewer.