[wp-trac] [WordPress Trac] #24674: WP_Query::is_page() should use stricter comparison

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


#24674: WP_Query::is_page() should use stricter comparison
----------------------------------------+------------------
 Reporter:  clifgriffin                 |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.7
Component:  Query                       |     Version:  2.5
 Severity:  minor                       |  Resolution:
 Keywords:  needs-unit-tests has-patch  |
----------------------------------------+------------------

Comment (by clifgriffin):

 As WordPress increasingly becomes an application platform, the need for
 non-traditional approaches will increase.

 The particular plugin in this instance is Shopp.  The alternative
 solutions for managing the storefront URLs using actual pages and
 shortcodes had many shortcomings.  The virtual page approach has been very
 successful.

 Regardless, in my view, if there is a scenario where is_page(), etc return
 incorrect values, a patch is warranted. Especially when the patch should
 have no effect on any other implementations.

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


More information about the wp-trac mailing list