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|
|Component:||Warnings/Notices||Keywords:||has-patch needs-testing needs-unit-tests|
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
Note: See TracTickets for help on using tickets.