[wp-trac] [WordPress Trac] #16802: is_page() doesn't accept a full path

WordPress Trac noreply at wordpress.org
Wed Jul 9 07:59:05 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 commit  |     Focuses:
------------------------------+------------------

Comment (by engelen):

 [attachment:16802.3.diff] adds unit testing (similar to the path unit
 testing for `is_page`) to `is_single`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16802#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list