Make WordPress Core

Changeset 6740


Ignore:
Timestamp:
02/06/2008 09:21:22 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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() )
Note: See TracChangeset for help on using the changeset viewer.