mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Correct the type and description of $post parameter passed to the attachment_fields_to_save filter.
Props swissspidy. Fixes #34404. git-svn-id: https://develop.svn.wordpress.org/trunk@35374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -662,8 +662,8 @@ function media_upload_form_handler() {
|
||||
*
|
||||
* @see wp_get_attachment_metadata()
|
||||
*
|
||||
* @param WP_Post $post The WP_Post object.
|
||||
* @param array $attachment An array of attachment metadata.
|
||||
* @param array $post An array of post data.
|
||||
* @param array $attachment An array of attachment metadata.
|
||||
*/
|
||||
$post = apply_filters( 'attachment_fields_to_save', $post, $attachment );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user