Media: Fix inconsistent font weight in media detail views.

Make font weight consistent between different screens and different parts of media views.
 
Props szaqal21, sabernhardt.
Fixes #54509.

git-svn-id: https://develop.svn.wordpress.org/trunk@55187 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joe Dolson 2023-02-02 02:14:02 +00:00
parent 4dd9160d8e
commit dfca88265e
2 changed files with 2 additions and 2 deletions

View File

@ -3475,7 +3475,7 @@ function attachment_submitbox_metadata() {
<div class="misc-pub-section misc-pub-original-image word-wrap-break-word">
<?php _e( 'Original image:' ); ?>
<a href="<?php echo esc_url( wp_get_original_image_url( $attachment_id ) ); ?>">
<?php echo esc_html( wp_basename( wp_get_original_image_path( $attachment_id ) ) ); ?>
<strong><?php echo esc_html( wp_basename( wp_get_original_image_path( $attachment_id ) ) ); ?></strong>
</a>
</div>
<?php

View File

@ -439,7 +439,7 @@ function wp_print_media_templates() {
<# if ( data.originalImageURL && data.originalImageName ) { #>
<div class="word-wrap-break-word">
<?php _e( 'Original image:' ); ?>
<strong><?php _e( 'Original image:' ); ?></strong>
<a href="{{ data.originalImageURL }}">{{data.originalImageName}}</a>
</div>
<# } #>