mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Media: Add a base view class.
* Centralizes view and subview management, unifying several disjointed constructs. * Utilizes the `dispose` functionality found in Backbone master, providing a standard method for memory management. see #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1391,6 +1391,13 @@ function wp_enqueue_media( $args = array() ) {
|
||||
*/
|
||||
function wp_print_media_templates( $attachment ) {
|
||||
?>
|
||||
<script type="text/html" id="tmpl-media-frame">
|
||||
<div class="media-frame-menu"></div>
|
||||
<div class="media-frame-content"></div>
|
||||
<div class="media-frame-sidebar"></div>
|
||||
<div class="media-frame-toolbar"></div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="tmpl-media-modal">
|
||||
<div class="media-modal">
|
||||
<h3 class="media-modal-title">{{ data.title }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user