Make the meaning of is_home() more explicit.

git-svn-id: https://develop.svn.wordpress.org/trunk@12516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-12-23 15:44:57 +00:00
parent dcd3604d90
commit 1955a840a1
1 changed files with 4 additions and 0 deletions

View File

@ -332,6 +332,10 @@ function is_front_page () {
/**
* Whether current page view is the blog homepage.
*
* This is the page which is showing the time based blog content of your site
* so if you set a static page for the front page of your site then this will
* only be true on the page which you set as the "Posts page" in Reading Settings.
*
* @since 1.5.0
* @uses $wp_query