get_page_uri() generates PHP warnings when invalid page passed in
|Reported by:||Viper007Bond||Owned by:||wonderboymusic|
get_page_uri() needs to make sure a valid result came back from the get_post() call before trying to access properties of $page, otherwise warnings are generated.
Change History (5)
comment:3 wonderboymusic — 3 months ago
- Owner set to wonderboymusic
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.