Make WordPress Core


Ignore:
Timestamp:
05/30/2025 04:24:04 PM (11 months ago)
Author:
audrasjb
Message:

Media: Fix overflow of long user display names on Edit Media screen.

This changeset resolves an issue where long usernames in the media uploader modal would overflow their container. By adding the dedicated word-wrap-break-word class, usernames now properly break into multiple lines.

Follow-up to [59834], [59835].

Props sainathpoojary, audrasjb, sabernhardt, renishsurani, SirLouen, valentingrenier.
Fixes #63243.

File:
1 edited

Legend:

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

    r60084 r60266  
    33383338    }
    33393339    ?>
    3340     <div class="misc-pub-section misc-pub-uploadedby">
     3340    <div class="misc-pub-section misc-pub-uploadedby word-wrap-break-word">
    33413341        <?php if ( $uploaded_by_link ) { ?>
    33423342            <?php _e( 'Uploaded by:' ); ?> <a href="<?php echo $uploaded_by_link; ?>"><strong><?php echo $uploaded_by_name; ?></strong></a>
Note: See TracChangeset for help on using the changeset viewer.