mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Feeds: Amend [45208] to avoid phpcs:ignore
.
See #46922. Built from https://develop.svn.wordpress.org/trunk@45215 git-svn-id: http://core.svn.wordpress.org/trunk@45024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
39b82b89be
commit
373a759c6b
@ -43,11 +43,8 @@ do_action( 'rss_tag_pre', 'atom-comments' );
|
|||||||
</title>
|
</title>
|
||||||
<subtitle type="text"><?php bloginfo_rss( 'description' ); ?></subtitle>
|
<subtitle type="text"><?php bloginfo_rss( 'description' ); ?></subtitle>
|
||||||
|
|
||||||
<updated><?php // phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentBeforeOpen,Squiz.PHP.EmbeddedPhp.ContentAfterOpen
|
<?php $date = get_last_build_date(); ?>
|
||||||
$date = get_last_build_date();
|
<updated><?php echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date, false ) : date( 'Y-m-d\TH:i:s\Z' ); ?></updated>
|
||||||
echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date, false ) : date( 'Y-m-d\TH:i:s\Z' );
|
|
||||||
// phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentAfterEnd
|
|
||||||
?></updated>
|
|
||||||
|
|
||||||
<?php if ( is_singular() ) { ?>
|
<?php if ( is_singular() ) { ?>
|
||||||
<link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php comments_link_feed(); ?>" />
|
<link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php comments_link_feed(); ?>" />
|
||||||
|
@ -30,11 +30,8 @@ do_action( 'rss_tag_pre', 'atom' );
|
|||||||
<title type="text"><?php wp_title_rss(); ?></title>
|
<title type="text"><?php wp_title_rss(); ?></title>
|
||||||
<subtitle type="text"><?php bloginfo_rss( 'description' ); ?></subtitle>
|
<subtitle type="text"><?php bloginfo_rss( 'description' ); ?></subtitle>
|
||||||
|
|
||||||
<updated><?php // phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentBeforeOpen,Squiz.PHP.EmbeddedPhp.ContentAfterOpen
|
<?php $date = get_last_build_date(); ?>
|
||||||
$date = get_last_build_date();
|
<updated><?php echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date, false ) : date( 'Y-m-d\TH:i:s\Z' ); ?></updated>
|
||||||
echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date, false ) : date( 'Y-m-d\TH:i:s\Z' );
|
|
||||||
// phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentAfterEnd
|
|
||||||
?></updated>
|
|
||||||
|
|
||||||
<link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php bloginfo_rss( 'url' ); ?>" />
|
<link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php bloginfo_rss( 'url' ); ?>" />
|
||||||
<id><?php bloginfo( 'atom_url' ); ?></id>
|
<id><?php bloginfo( 'atom_url' ); ?></id>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-beta3-45214';
|
$wp_version = '5.2-beta3-45215';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user