Make WordPress Core

Changeset 10921


Ignore:
Timestamp:
04/13/2009 04:15:59 PM (15 years ago)
Author:
ryan
Message:

robots.txt is not home. Props johnbillion. fixes #9482 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/query.php

    r10780 r10921  
    14521452            $this->is_comment_feed = true;
    14531453
    1454         if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_feed || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup ) )
     1454        if ( !( $this->is_singular || $this->is_archive || $this->is_search || $this->is_feed || $this->is_trackback || $this->is_404 || $this->is_admin || $this->is_comments_popup || $this->is_robots ) )
    14551455            $this->is_home = true;
    14561456
Note: See TracChangeset for help on using the changeset viewer.