mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Correct @since tags for new properties and functions related to infinite scrolling in Media Library.
Follow-up to [50829]. See #50105, #40330, #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@50831 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2927,6 +2927,8 @@ function wp_ajax_get_attachment() {
|
||||
* Ajax handler for querying attachments.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @since 5.8.0 The response returns the attachments under `response.attachments` and
|
||||
* `response.totalAttachments` holds the total number of attachments found.
|
||||
*/
|
||||
function wp_ajax_query_attachments() {
|
||||
if ( ! current_user_can( 'upload_files' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user