Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#30185 closed defect (bug) (fixed)

Incorrect hook docs for `wp_save_post_revision_check_for_changes`

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

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 12 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion
12 years ago

#1 @johnbillion
12 years ago

  • Keywords has-patch added; needs-patch removed

#2 @DrewAPicture
12 years ago

  • Owner set to DrewAPicture
  • Resolution → fixed
  • Status new → 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.