Make WordPress Core


Ignore:
Timestamp:
01/21/2023 03:56:09 PM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Further clarify the wp_ajax_save_attachment filter parameters description.

Follow-up to [55106].

See #23148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r55106 r55111  
    31473147
    31483148        /**
    3149          * Fires after an attachment has been updated and before
    3150          * the JSON response is sent.
     3149         * Fires after an attachment has been updated via the Ajax handler
     3150         * and before the JSON response is sent.
    31513151         *
    31523152         * @since 6.2.0
    31533153         *
    3154          * @param array $post    The attachment.
    3155          * @param array $changes An array of changes.
     3154         * @param array $post    The attachment data.
     3155         * @param array $changes An array containing the updated attachment attributes.
    31563156         */
    31573157        do_action( 'wp_ajax_save_attachment', $post, $changes );
Note: See TracChangeset for help on using the changeset viewer.