[wp-trac] [WordPress Trac] #24473: is_home returns true for pages created with custom rewrite_rules

WordPress Trac noreply at wordpress.org
Sun Aug 11 23:23:48 UTC 2013


#24473: is_home returns true for pages created with custom rewrite_rules
-------------------------+----------------------
 Reporter:  LucasMS      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  3.5.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Filter `query_vars`, add `questions_category` to it, and then use
 `get_query_var(  'questions_category' )` in your theme to know when you're
 on it

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24473#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list