Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/embed-content.php

    r41902 r42343  
    7676        }
    7777
    78         if ( $thumbnail_id && 'rectangular' === $shape ) : ?>
     78        if ( $thumbnail_id && 'rectangular' === $shape ) :
     79        ?>
    7980            <div class="wp-embed-featured-image rectangular">
    8081                <a href="<?php the_permalink(); ?>" target="_top">
     
    110111
    111112        <div class="wp-embed-footer">
    112             <?php the_embed_site_title() ?>
     113            <?php the_embed_site_title(); ?>
    113114
    114115            <div class="wp-embed-meta">
     
    119120                 * @since 4.4.0
    120121                 */
    121                 do_action( 'embed_content_meta');
     122                do_action( 'embed_content_meta' );
    122123                ?>
    123124            </div>
Note: See TracChangeset for help on using the changeset viewer.