From ca66a5ca2182c56642740179a4bd4b05cfd772b3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 29 Jun 2012 15:09:14 +0000 Subject: [PATCH] Add inline documentation for wp_edit_attachments_query(). props simonwheatley, SergeyBiryukov. fixes #21105. git-svn-id: https://develop.svn.wordpress.org/trunk@21179 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/post.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index a8674e0ee7..27a9d4ea1c 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -925,12 +925,14 @@ function get_available_post_mime_types($type = 'attachment') { } /** - * {@internal Missing Short Description}} - * + * Executes a query for attachments. An array of WP_Query arguments + * can be passed in, which will override the arguments set by this function. + * * @since 2.5.0 + * @uses apply_filters() Calls 'upload_per_page' on posts_per_page argument * - * @param unknown_type $q - * @return unknown + * @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal. + * @return array */ function wp_edit_attachments_query( $q = false ) { if ( false === $q )