From 452f423faf7b0cf415dc20d3b9ebc70ff3f239f2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 6 Feb 2008 21:21:22 +0000 Subject: [PATCH] Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682 git-svn-id: https://develop.svn.wordpress.org/trunk@6740 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 93dc6077f8..10760fbbe3 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -135,7 +135,7 @@ function is_feed () { } /** - * is_front() - Is it the front of the site, whether blog view or a WP Page? + * is_front_page() - Is it the front of the site, whether blog view or a WP Page? * * @since 2.5 * @uses is_home @@ -143,7 +143,7 @@ function is_feed () { * * @return bool True if front of site */ -function is_front () { +function is_front_page () { // most likely case if ( 'posts' == get_option('show_on_front') && is_home() ) return true;