mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Implement canonical and url_to_postid() tests for child pages which share a post name with other child pages.
See #32759 git-svn-id: https://develop.svn.wordpress.org/trunk@32918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -79,6 +79,8 @@ class Tests_Canonical extends WP_Canonical_UnitTestCase {
|
||||
array( '/child-page-1/', '/parent-page/child-page-1/'),
|
||||
array( '/?page_id=144', '/parent-page/child-page-1/'),
|
||||
array( '/abo', '/about/' ),
|
||||
array( '/parent/child1/grandchild/', '/parent/child1/grandchild/' ),
|
||||
array( '/parent/child2/grandchild/', '/parent/child2/grandchild/' ),
|
||||
|
||||
// Posts
|
||||
array( '?p=587', '/2008/06/02/post-format-test-audio/'),
|
||||
|
||||
Reference in New Issue
Block a user