mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Media: Prevent URLs from overflowing their container in the media editor.
This changeset also introduces the `.word-wrap-break-word` class which can be used to apply `word-wrap: break-word` to admin elements when needed. Props mitogh, costdev, kapilpaul, alamgircsebd, sabernhardt, anantajitjg, afercia, circlecube, SergeyBiryukov, rafiahmedd, audrasjb. Fixes #55393. git-svn-id: https://develop.svn.wordpress.org/trunk@53777 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3469,7 +3469,7 @@ function attachment_submitbox_metadata() {
|
||||
|
||||
if ( ! empty( $meta['original_image'] ) ) {
|
||||
?>
|
||||
<div class="misc-pub-section misc-pub-original-image">
|
||||
<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 ) ) ); ?>
|
||||
|
||||
Reference in New Issue
Block a user