Ticket #18900: 18900.3.patch
File 18900.3.patch, 2.4 KB (added by , 8 years ago) |
---|
-
src/wp-admin/custom-background.php
274 274 <?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?> 275 275 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 276 276 </p> 277 <p >277 <p class="hide-if-no-js"> 278 278 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 279 279 <button id="choose-from-library-link" class="button" 280 280 data-choose="<?php esc_attr_e( 'Choose a Background Image' ); ?>" 281 281 data-update="<?php esc_attr_e( 'Set as background' ); ?>"><?php _e( 'Choose Image' ); ?></button> 282 282 </p> 283 <p class="hide-if-js"> 284 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 285 </p> 283 286 </form> 284 287 </td> 285 288 </tr> -
src/wp-admin/custom-header.php
585 585 '_wpnonce-custom-header-upload' => wp_create_nonce('custom-header-upload'), 586 586 ), admin_url('themes.php') ) ); 587 587 ?> 588 <p >588 <p class="hide-if-no-js"> 589 589 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 590 590 <button id="choose-from-library-link" class="button" 591 591 data-update-link="<?php echo esc_attr( $modal_update_href ); ?>" … … 592 592 data-choose="<?php esc_attr_e( 'Choose a Custom Header' ); ?>" 593 593 data-update="<?php esc_attr_e( 'Set as header' ); ?>"><?php _e( 'Choose Image' ); ?></button> 594 594 </p> 595 <p class="hide-if-js"> 596 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 597 </p> 595 598 </form> 596 599 </td> 597 600 </tr> -
src/wp-admin/includes/media.php
1456 1456 <tr> 1457 1457 <td class='A1B1' id='thumbnail-head-$post->ID'> 1458 1458 <p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p> 1459 <p >$image_edit_button</p>1459 <p class='hide-if-no-js'>$image_edit_button</p> 1460 1460 </td> 1461 1461 <td> 1462 1462 <p><strong>" . __('File name:') . "</strong> $filename</p>