Permalinks: Correct an invalid peramstructure tag in a test.
Fixes #37858 git-svn-id: https://develop.svn.wordpress.org/trunk@38417 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9701c29b90
commit
58956ecf2d
@ -462,7 +462,7 @@ class Tests_Admin_Includes_Post extends WP_UnitTestCase {
|
||||
* @ticket 5305
|
||||
*/
|
||||
public function test_get_sample_permalink_should_allow_daylike_slugs_if_permastruct_does_not_cause_an_archive_conflict() {
|
||||
$this->set_permalink_structure( '/%year%/%month%/%day%/%postname%/' );
|
||||
$this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
|
||||
|
||||
$p = self::factory()->post->create( array(
|
||||
'post_name' => '30',
|
||||
|
Loading…
Reference in New Issue
Block a user