Don't try to add orphaned pages' parents' slugs to the page URL
|Reported by:||filosofo||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch 3.2-early needs-testing 2nd-opinion|
If a page becomes orphaned---in other words, if a page points to a parent object that doesn't exist any more---get_page_uri() doesn't sanity check that the parent object actually exists.
Patch does the check without any extra work, by moving stuff around.
Change History (7)
comment:1 MikeHansenMe — 19 months ago
- Keywords needs-testing 2nd-opinion added