Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23913 closed enhancement (fixed)

Revisions: remove the new _wp_last_revision_matches_current_post()

Reported by: azaozz's profile azaozz Owned by: azaozz's profile azaozz
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Revisions Keywords: has-patch
Focuses: Cc:

Description

As the title. That function is not needed, can be replaced with simple revision version check as we add a copy of the current post while fixing revisions post_author fields.

Attachments (1)

23913.patch (2.2 KB) - added by azaozz 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @azaozz
11 years ago

  • Keywords has-patch added

In 23913.patch​:

  • Remove _wp_last_revision_matches_current_post() and replace it with revision version check in wp_list_post_revisions() (the only place it's used).

@azaozz
11 years ago

#2 @azaozz
11 years ago

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

In 23885:

Revisions: remove the new _wp_last_revision_matches_current_post(), can be replaced by a simple revisions version check. Fixes #23913

Note: See TracTickets for help on using tickets.