Skip to content

Commit 541087c

Browse files
authored
Remove redundant ! is_home() check
1 parent 75e082c commit 541087c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wp-includes/general-template.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3326,9 +3326,8 @@ function feed_links_extra( $args = array() ) {
33263326
*/
33273327
$args = apply_filters( 'feed_links_extra_args', $args );
33283328

3329-
// Singular objects only, excluding a single `show_on_front` Home Page.
33303329
$queried_object = get_queried_object();
3331-
if ( is_singular() && ! is_home() && $queried_object instanceof WP_Post ) {
3330+
if ( is_singular() && $queried_object instanceof WP_Post ) {
33323331
$post = $queried_object;
33333332

33343333
/** This filter is documented in wp-includes/general-template.php */

0 commit comments

Comments
 (0)