Ticket #18900: 18900-header-bg.3.diff
File 18900-header-bg.3.diff, 1.7 KB (added by , 12 years ago) |
---|
-
wp-admin/custom-header.php
538 538 $image_library_url = remove_query_arg( 'TB_iframe', $image_library_url ); 539 539 $image_library_url = add_query_arg( array( 'context' => 'custom-header', 'TB_iframe' => 1 ), $image_library_url ); 540 540 ?> 541 <p >541 <p class="hide-if-no-js"> 542 542 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 543 543 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 544 544 </p> 545 <p class="hide-if-js"> 546 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 547 </p> 545 548 </form> 546 549 </td> 547 550 </tr> -
wp-admin/custom-background.php
267 267 $image_library_url = remove_query_arg( 'TB_iframe', $image_library_url ); 268 268 $image_library_url = add_query_arg( array( 'context' => 'custom-background', 'TB_iframe' => 1 ), $image_library_url ); 269 269 ?> 270 <p >270 <p class="hide-if-no-js"> 271 271 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 272 272 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 273 273 </p> 274 <p class="hide-if-js"> 275 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 276 </p> 274 277 </form> 275 278 </td> 276 279 </tr>