Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#17670 closed defect (bug)

PHP Notices when Attachment is accessed via wrong url via pagerewrite — at Initial Version

Reported by: dd32 Owned by:
Milestone: 3.3 Priority: highest omg bbq
Severity: blocker Version: 3.1
Component: Warnings/Notices Keywords: has-patch needs-testing needs-unit-tests
Focuses: Cc:



Expected url: /2008/06/10/post-format-test-gallery/canola2/
Accessed url: /canola2/

get_page_by_path() will result in these 2 warnings:

NOTICE: wp-includes\post.php:3167 - Trying to get property of non-object
NOTICE: wp-includes\post.php:3162 - Trying to get property of non-object

Change History (1)

7 years ago

Note: See TracTickets for help on using tickets.