WordPress.org

Make WordPress Core

Changeset 622 in tests


Ignore:
Timestamp:
04/06/12 19:56:44 (3 years ago)
Author:
markjaquith
Message:

Add a test for ?name=incomplete-post-slu redirection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_canonical.php

    r621 r622  
    147147            array( '?p=587', '/2008/06/02/post-format-test-audio/'), 
    148148            array( '/?name=images-test', '/2008/09/03/images-test/'), 
     149            // Incomplete slug should resolve and remove the ?name= parameter 
     150            array( '/?name=images-te', '/2008/09/03/images-test/', 20374), 
     151            // Page slug should resolve to post slug and remove the ?pagename= parameter 
    149152            array( '/?pagename=images-test', '/2008/09/03/images-test/', 20374), 
    150153 
Note: See TracChangeset for help on using the changeset viewer.