Skip to content

Commit

Permalink
Update post.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wprashed committed Jan 11, 2025
1 parent 7666d4d commit 488e4bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -8465,3 +8465,12 @@ function wp_create_initial_post_meta() {
)
);
}

/**
* Add revision support for changes made via Quick Edit in the WordPress admin.
*
* This functionality ensures that any updates made through the Quick Edit option
* are tracked as revisions, allowing users to revert changes if needed.
*
* @param array $post_data An array of sanitized post data.
*/

0 comments on commit 488e4bc

Please sign in to comment.