WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/27/2012 06:20:22 AM (9 years ago)
Author:
koopersmith
Message:

Media JS: Move the modal box's title from being stored in the modal view to being stored as an attribute on the workflow. Update modal titles for both the post media and featured image workflows. see #21390, #21776.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r22022 r22044  
    10321032            if ( ! workflow ) {
    10331033                workflow = wp.media({
     1034                    title:   title,
    10341035                    library: {
    10351036                        type: 'image'
     
    10591060                    }).prependTo( $element );
    10601061                });
    1061                 workflow.modal.title( title );
    10621062            }
    10631063
Note: See TracChangeset for help on using the changeset viewer.