Changeset 50829 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 05/07/2021 11:17:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r50556 r50829 2994 2994 $posts = array_filter( $posts ); 2995 2995 2996 wp_send_json_success( $posts ); 2996 $result = array( 2997 'attachments' => $posts, 2998 'totalAttachments' => $query->found_posts, 2999 ); 3000 3001 wp_send_json_success( $result ); 2997 3002 } 2998 3003
Note: See TracChangeset
for help on using the changeset viewer.