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
This commit is contained in:
Andrew Nacin 2012-06-29 15:09:14 +00:00
parent 9db38e39ab
commit ca66a5ca21

View File

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