#24491 closed defect (bug) (fixed)
get_page_uri() generates PHP warnings when invalid page passed in
| Reported by: | Viper007Bond | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Warnings/Notices | Version: | 3.5.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See also: #22883