Changeset 6740

Show
Ignore:
Timestamp:
02/06/08 21:21:22 (5 months ago)
Author:
ryan
Message:

Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/query.php

    r6726 r6740  
    136136 
    137137/** 
    138  * is_front() - Is it the front of the site, whether blog view or a WP Page? 
     138 * is_front_page() - Is it the front of the site, whether blog view or a WP Page? 
    139139 * 
    140140 * @since 2.5 
     
    144144 * @return bool True if front of site 
    145145 */ 
    146 function is_front () { 
     146function is_front_page () { 
    147147    // most likely case 
    148148    if ( 'posts' == get_option('show_on_front') && is_home() )