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

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 5 13:42:19 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  |
------------------------------------+-----------------------------

Comment (by dd32):

 ah approach that both me and duck_ have used here, is to break from the
 while loop when $curpage == null. This still allows the request to be
 parsed correctly (even if it is at the wrong url, but that's not the issue
 at hand)

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


More information about the wp-trac mailing list