Make WordPress Core


Ignore:
Timestamp:
09/06/2012 08:49:35 AM (12 years ago)
Author:
koopersmith
Message:

First pass at integrating featured images with the new media workflow.

Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.

see #21776, #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r21697 r21770  
    319319    did_action( 'init' ) && $scripts->localize( 'media-views', '_wpMediaViewsL10n', array(
    320320        'insertMedia'         => __( 'Insert Media' ),
    321         'chooseFeatured'      => __( 'Choose a Featured Image' ),
    322321        'selectMediaSingular' => __( 'Select a media file:' ),
    323322        'selectMediaMultiple' => __( 'Select one or more media files:' ),
Note: See TracChangeset for help on using the changeset viewer.