#24491 closed defect (bug) (fixed)
get_page_uri() generates PHP warnings when invalid page passed in
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.5.1 |
Component: | Warnings/Notices | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
See also: #22883