Make WordPress Core


Ignore:
Timestamp:
03/20/2021 06:28:32 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add a space before / character in some self-closing HTML tags.

While this has no effect on the code, it fixes a minor inconsistency with the rest of core.

Props laxman-prajapati.
Fixes #52870.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-atom.php

    r47122 r50556  
    9494        if ( get_comments_number() || comments_open() ) :
    9595            ?>
    96             <link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>"/>
    97             <link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>"/>
     96            <link rel="replies" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>#comments" thr:count="<?php echo get_comments_number(); ?>" />
     97            <link rel="replies" type="application/atom+xml" href="<?php echo esc_url( get_post_comments_feed_link( 0, 'atom' ) ); ?>" thr:count="<?php echo get_comments_number(); ?>" />
    9898            <thr:total><?php echo get_comments_number(); ?></thr:total>
    9999        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.