Ticket #30185: 30185.diff
| File 30185.diff, 956 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/revision.php
118 118 * 119 119 * @since 3.6.0 120 120 * 121 * @param bool $check_for_changes Whether to check for changes before saving a new revision.122 * Default true.123 * @param int $last_revision ID of the last revision.124 * @param int $post Post ID.121 * @param bool $check_for_changes Whether to check for changes before saving a new revision. 122 * Default true. 123 * @param WP_Post $last_revision The the last revision post object. 124 * @param WP_Post $post The post object. 125 125 * 126 126 */ 127 127 if ( isset( $last_revision ) && apply_filters( 'wp_save_post_revision_check_for_changes', $check_for_changes = true, $last_revision, $post ) ) {