Docs: Further clarify the `wp_ajax_save_attachment` filter parameters description.

Follow-up to [55106].

See #23148.
Built from https://develop.svn.wordpress.org/trunk@55111


git-svn-id: http://core.svn.wordpress.org/trunk@54644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-01-21 15:58:10 +00:00
parent 89f144ea9e
commit 4568b1fb32
2 changed files with 5 additions and 5 deletions

View File

@ -3146,13 +3146,13 @@ function wp_ajax_save_attachment() {
wp_update_post( $post );
/**
* Fires after an attachment has been updated and before
* the JSON response is sent.
* Fires after an attachment has been updated via the Ajax handler
* and before the JSON response is sent.
*
* @since 6.2.0
*
* @param array $post The attachment.
* @param array $changes An array of changes.
* @param array $post The attachment data.
* @param array $changes An array containing the updated attachment attributes.
*/
do_action( 'wp_ajax_save_attachment', $post, $changes );
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-55110';
$wp_version = '6.2-alpha-55111';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.