From 4568b1fb32c1210ceb2ffc9ec53cbf3be67a81f3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 21 Jan 2023 15:58:10 +0000 Subject: [PATCH] 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 --- wp-admin/includes/ajax-actions.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index 2fd1662800..35090e2288 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 43a1f00dd4..4fc9fc8bcc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.