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
This commit is contained in:
Ryan Boren 2008-02-06 21:21:22 +00:00
parent c2083047a8
commit 452f423faf

View File

@ -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;