WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15815 closed defect (bug) (fixed)

Two saves required to change category/tag taxonomy base

Reported by: markjaquith Owned by:
Milestone: 3.1 Priority: high
Severity: major Version: 3.1
Component: Rewrite Rules Keywords: has-patch
Focuses: Cc:

Description

When you change the category/tag base in Permalink Settings, it takes two saves for them to take effect and update the rewrite_rules option.

Attachments (1)

15815.diff (470 bytes) - added by nacin 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 nacin3 years ago

I think we just need to add create_initial_taxonomies() to just before the flush.

nacin3 years ago

comment:2 nacin3 years ago

  • Keywords has-patch added

comment:3 markjaquith3 years ago

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

(In [16917]) Recreate initial taxonomies after updating their URL base. props nacin. fixes #15815

Note: See TracTickets for help on using tickets.