Make WordPress Core

Changeset 21179


Ignore:
Timestamp:
06/29/2012 03:09:14 PM (14 years ago)
Author:
nacin
Message:

Add inline documentation for wp_edit_attachments_query(). props simonwheatley, SergeyBiryukov. fixes #21105.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r21173 r21179  
    926926
    927927/**
    928  * {@internal Missing Short Description}}
    929  *
     928 * Executes a query for attachments. An array of WP_Query arguments
     929 * can be passed in, which will override the arguments set by this function.
     930 *
    930931 * @since 2.5.0
    931  *
    932  * @param unknown_type $q
    933  * @return unknown
     932 * @uses apply_filters() Calls 'upload_per_page' on posts_per_page argument
     933 *
     934 * @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal.
     935 * @return array
    934936 */
    935937function wp_edit_attachments_query( $q = false ) {
Note: See TracChangeset for help on using the changeset viewer.