{"id":14533824,"date":"2021-06-08T16:24:02","date_gmt":"2021-06-08T16:24:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/works-in-wp-5-7-1\/"},"modified":"2021-06-08T16:24:02","modified_gmt":"2021-06-08T16:24:02","slug":"works-in-wp-5-7-1","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/works-in-wp-5-7-1\/","title":{"rendered":"works in WP 5.7.1"},"content":{"rendered":"<p>This plugin works fine in WP 5.7.1 <\/p>\n<p>It&#8217;s just the example code from the official WP docs for the ajax_query_attachments_args filter, with a line added to check if the current user is an administrator. It&#8217;s very simple.<\/p>\n<p>There&#8217;s no reason this plugin shouldn&#8217;t work in an up-to-date WP installation<\/p>\n","protected":false},"template":"","class_list":["post-14533824","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14533824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14533824\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14533824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}