Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#37858 closed defect (bug) (fixed)

Sample permalink test uses invalid permalink tag

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 4.7 Priority: low
Severity: minor Version: 4.3
Component: Permalinks Keywords:
Focuses: Cc:


The Tests_Admin_Includes_Post::test_get_sample_permalink_should_allow_daylike_slugs_if_permastruct_does_not_cause_an_archive_conflict() unit test uses %month% in its permastructure, which is invalid. It should use %monthnum%. The test's validity remains unaffected.

Introduced in [32647].

Change History (2)

#1 @johnbillion
7 years ago

  • Component changed from Build/Test Tools to Permalinks

#2 @johnbillion
7 years ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

In 38417:

Permalinks: Correct an invalid peramstructure tag in a test.

Fixes #37858

Note: See TracTickets for help on using tickets.