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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 9 14:02:23 UTC 2011


#16802: is_page() doesn't accept a full path
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:  3.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by hakre):

 I suggest to name such a function `is_page_path('foo/bar')` for a starter
 to prevent further parameter overloading of `is_page()`.

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


More information about the wp-trac mailing list