Make WordPress Core

Changeset 26898


Ignore:
Timestamp:
01/02/2014 10:49:00 PM (13 years ago)
Author:
azaozz
Message:

Thickbox is needed for the media modal back-compat. Are there plugins that still use this? Also needed for PressThis. See #24067.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r26836 r26898  
    298298        wp_enqueue_style( 'colors' );
    299299        wp_enqueue_script( 'post' );
     300        add_thickbox();
    300301        _wp_admin_html_begin();
    301302?>
  • trunk/src/wp-includes/class-wp-editor.php

    r26896 r26898  
    488488
    489489                if ( self::$has_medialib ) {
    490         //              add_thickbox(); // ?
     490                        add_thickbox();
    491491                        wp_enqueue_script('media-upload');
    492492                }
Note: See TracChangeset for help on using the changeset viewer.