mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Correct two parameter types in the wp_save_post_revision_check_for_changes
hook documentation.
Props johnbillion. Fixes #30185. Built from https://develop.svn.wordpress.org/trunk@30119 git-svn-id: http://core.svn.wordpress.org/trunk@30119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6745b8a870
commit
e8f68802c6
@ -118,8 +118,8 @@ function wp_save_post_revision( $post_id ) {
|
||||
*
|
||||
* @param bool $check_for_changes Whether to check for changes before saving a new revision.
|
||||
* Default true.
|
||||
* @param int $last_revision ID of the last revision.
|
||||
* @param int $post Post ID.
|
||||
* @param WP_Post $last_revision The the last revision post object.
|
||||
* @param WP_Post $post The post object.
|
||||
*
|
||||
*/
|
||||
if ( isset( $last_revision ) && apply_filters( 'wp_save_post_revision_check_for_changes', $check_for_changes = true, $last_revision, $post ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30118';
|
||||
$wp_version = '4.1-alpha-30119';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user