Changeset 31037 for trunk/src/wp-admin/upload.php
- Timestamp:
- 01/03/2015 08:23:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/upload.php
r29725 r31037 25 25 wp_enqueue_script( 'media-grid' ); 26 26 wp_enqueue_script( 'media' ); 27 28 $vars = wp_edit_attachments_query_vars(); 29 unset( $vars['mode'], $vars['post_type'], $vars['post_status'], $vars['posts_per_page'] ); 30 27 31 wp_localize_script( 'media-grid', '_wpMediaGridSettings', array( 28 32 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ), 33 'queryVars' => $vars 29 34 ) ); 30 35
Note: See TracChangeset
for help on using the changeset viewer.