[wp-trac] [WordPress Trac] #17670: PHP Notices when Attachment is accessed via wrong url via pagerewrite

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 3 08:36:18 UTC 2011


#17670: PHP Notices when Attachment is accessed via wrong url via pagerewrite
------------------------------------+-----------------------------
 Reporter:  dd32                    |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Warnings/Notices        |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => has-patch dev-feedback


Comment:

 Patch removes the restriction on post type for the parent query. My
 thinking here was that the `$post_type` argument should only apply to the
 page being requested, and not to its parents (which could hypothetically
 belong to any post type).

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


More information about the wp-trac mailing list