WordPress.org

Make WordPress Core

Ticket #14773: tests.14773.2.diff

File tests.14773.2.diff, 970 bytes (added by atimmer, 7 years ago)
  • tests/phpunit/tests/canonical.php

     
    196196                        // Pages
    197197                        array( '/sample%20page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 17653 ), // Page rules always set 'page'
    198198                        array( '/sample------page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 14773 ),
     199                        array( '/sample-page---/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 14773 ),
     200                        array( '/---sample-page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 14773 ),
    199201                        array( '/child-page-1/', '/parent-page/child-page-1/'),
    200202                        array( '/?page_id=144', '/parent-page/child-page-1/'),
    201203                        array( '/abo', '/about/' ),