Make WordPress Core

Changeset 614 in tests


Ignore:
Timestamp:
04/05/2012 08:47:32 PM (14 years ago)
Author:
markjaquith
Message:

We have never handled these sorts of rewrites, so there should not be tests for them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_canonical.php

    r505 r614  
    268268            array( '/?p=358%20', array('url' => '/?p=358',  'qv' => array('p' => '358') ) ),
    269269
    270             // These Date rules use ?m= as the redirect as that's the style of Link WordPress creates for date based archives
    271             array( '/?&year=2008', '/?m=2008' ), // Extra &
    272             array( '/?year=2008&cat=', '/?m=2008' ), // Empty qv
    273             array( '/?year=2008&cat=&monthnum=09', '/?m=200809' ), // Empty qv
    274             array( '/?year=2008&monthnum=05', '/?m=200805' ),
    275 
    276270            array( '/?page_id=1', '/?p=1' ), // redirect page_id to p (should cover page_id|p|attachment_id to one another
    277271            array( '/?page_id=1&post_type=revision', '/?p=1' ),
Note: See TracChangeset for help on using the changeset viewer.