Ticket #21105: 21105.2.diff

File 21105.2.diff, 794 bytes (added by SergeyBiryukov, 11 months ago)
  • wp-admin/includes/post.php

     
    925925} 
    926926 
    927927/** 
    928  * {@internal Missing Short Description}} 
    929  * 
     928 * Executes a query for attachments. An array of WP_Query  
     929 * arguments can be passed in, which will override the 
     930 * the arguments set by this function. 
     931 *  
    930932 * @since 2.5.0 
     933 * @uses apply_filters() Calls 'upload_per_page' on posts_per_page argument 
    931934 * 
    932  * @param unknown_type $q 
    933  * @return unknown 
     935 * @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal. 
     936 * @return array 
    934937 */ 
    935938function wp_edit_attachments_query( $q = false ) { 
    936939        if ( false === $q )