[wp-trac] [WordPress Trac] #16802: is_page() doesn't accept a	full path
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Apr 23 12:28:52 UTC 2014
    
    
  
#16802: is_page() doesn't accept a full path
----------------------------------------+------------------
 Reporter:  johnbillion                 |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.0
Component:  Query                       |     Version:  3.1
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------
Comment (by jnhghy):
 Why would
 {{{
 is_page($path)
 }}}
 be false when $path is actually a page?
 I think that the function is_page() should answer with true if a page path
 is passed to it.
 At least this makes sense to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16802#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list