Skip to content

Commit

Permalink
Update class-wp-query.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bschneidewind committed Feb 2, 2025
1 parent 65055c3 commit f1634c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/class-wp-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -4374,8 +4374,8 @@ public function is_comment_feed() {
* @return bool Whether the query is for the front page of the site.
*/
public function is_front_page() {
$show_on_front = get_option( 'show_on_front' );
$page_on_front = get_option( 'page_on_front' );
$show_on_front = get_option( 'show_on_front' );
$page_on_front = get_option( 'page_on_front' );
$page_for_posts = get_option( 'page_for_posts' );

// Most likely case.
Expand Down

0 comments on commit f1634c2

Please sign in to comment.