Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#30185 closed defect (bug) (fixed)

Incorrect hook docs for `wp_save_post_revision_check_for_changes`

Reported by: johnbillion's profile johnbillion Owned by: drewapicture's profile DrewAPicture
Milestone: 4.1 Priority: normal
Severity: normal Version:
Component: Revisions Keywords: has-patch
Focuses: docs Cc:

Description

The hook docs for the $last_revision and $post parameters in the wp_save_post_revision_check_for_changes filter are incorrect.

Attachments (1)

30185.diff (956 bytes) - added by johnbillion 9 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion
9 years ago

#1 @johnbillion
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 @DrewAPicture
9 years ago

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

In 30119:

Correct two parameter types in the wp_save_post_revision_check_for_changes hook documentation.

Props johnbillion.
Fixes #30185.

Note: See TracTickets for help on using tickets.