From 58956ecf2dbfe8d32968b038f5b7cf46371b8846 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 28 Aug 2016 12:52:23 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/admin/includesPost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/admin/includesPost.php b/tests/phpunit/tests/admin/includesPost.php index 5e74c05507..ca0e6f3051 100644 --- a/tests/phpunit/tests/admin/includesPost.php +++ b/tests/phpunit/tests/admin/includesPost.php @@ -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',