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:
Sergey Biryukov
2021-05-08 11:20:02 +00:00
parent 89989405ae
commit f8a5eb35e1
6 changed files with 16 additions and 13 deletions

View File

@@ -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' ) ) {