WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#19636 closed defect (bug) (fixed)

Rewrite rules don't need to be flushed on page save/delete

Reported by: duck_ Owned by: duck_
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.3
Component: Performance Keywords: has-patch
Focuses: Cc:

Description

Since 3.3 it is no longer necessary to flush rewrite rules when saving or deleting a page.

I also removed most of the _save_post_hook() docs as they're already, or will become, incorrect.

Attachments (1)

19636.diff (1.5 KB) - added by duck_ 2 years ago.

Download all attachments as: .zip

Change History (4)

duck_2 years ago

comment:1 in reply to: ↑ description duck_2 years ago

Replying to duck_:

Since 3.3 it is no longer necessary to flush rewrite rules when saving or deleting a page.

#16687

I also removed most of the _save_post_hook() docs as they're already, or will become, incorrect.

For page template removal see [7900].

comment:2 ryan2 years ago

Looks good.

comment:3 duck_2 years ago

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

In [19727]:

Rewrite rules don't need to be flushed on every page save/delete as they're no longer verbose. Fixes #19636.

Note: See TracTickets for help on using tickets.