WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/10/2014 06:36:34 AM (6 years ago)
Author:
helen
Message:

Media grid attachment modal:

  • Keyboard navigation.
  • History and routes for single items and search results.

props adamsilverstein. see #24716.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/upload.php

    r28993 r29057  
    2525    wp_enqueue_script( 'media-grid' );
    2626    wp_enqueue_script( 'media' );
     27    wp_localize_script( 'media-grid', 'mediaGridSettings', array( 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH )  ) );
    2728
    2829    require_once( ABSPATH . 'wp-admin/admin-header.php' );
Note: See TracChangeset for help on using the changeset viewer.