Make WordPress Core

Changeset 55187


Ignore:
Timestamp:
02/02/2023 02:14:02 AM (16 months ago)
Author:
joedolson
Message:

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.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r55156 r55187  
    34763476            <?php _e( 'Original image:' ); ?>
    34773477            <a href="<?php echo esc_url( wp_get_original_image_url( $attachment_id ) ); ?>">
    3478                 <?php echo esc_html( wp_basename( wp_get_original_image_path( $attachment_id ) ) ); ?>
     3478                <strong><?php echo esc_html( wp_basename( wp_get_original_image_path( $attachment_id ) ) ); ?></strong>
    34793479            </a>
    34803480        </div>
  • trunk/src/wp-includes/media-template.php

    r55156 r55187  
    440440                    <# if ( data.originalImageURL && data.originalImageName ) { #>
    441441                        <div class="word-wrap-break-word">
    442                             <?php _e( 'Original image:' ); ?>
     442                            <strong><?php _e( 'Original image:' ); ?></strong>
    443443                            <a href="{{ data.originalImageURL }}">{{data.originalImageName}}</a>
    444444                        </div>
Note: See TracChangeset for help on using the changeset viewer.