Changeset 22019 for trunk/wp-admin/includes/media.php
- Timestamp:
- 09/26/2012 07:57:44 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r21980 r22019 1113 1113 if ( gd_edit_image_support( $post->post_mime_type ) ) { 1114 1114 $nonce = wp_create_nonce( "image_editor-$post->ID" ); 1115 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> < img src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' class='imgedit-wait-spin' alt='' />";1115 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>"; 1116 1116 } 1117 1117 … … 1581 1581 } 1582 1582 1583 document.getElementById('status_img').innerHTML = '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />';1583 document.getElementById('status_img').innerHTML = '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />'; 1584 1584 t.preloadImg = new Image(); 1585 1585 t.preloadImg.onload = t.updateImageData; … … 2127 2127 if ( gd_edit_image_support( $post->post_mime_type ) ) { 2128 2128 $nonce = wp_create_nonce( "image_editor-$post->ID" ); 2129 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> < img src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' class='imgedit-wait-spin' alt='' />";2129 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>"; 2130 2130 } 2131 2131
Note: See TracChangeset
for help on using the changeset viewer.