[wp-trac] [WordPress Trac] #62980: Media uploader error notice: Missing line break
WordPress Trac
noreply at wordpress.org
Mon Feb 17 17:52:45 UTC 2025
#62980: Media uploader error notice: Missing line break
-------------------------------------+-------------------------------------
Reporter: kharisblank | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 6.7.2
Severity: normal | Resolution:
Keywords: needs-testing needs- | Focuses: ui, css,
patch | administration
-------------------------------------+-------------------------------------
Description changed by sabernhardt:
Old description:
> [[Image(https://cldup.com/bHPuHvWosB.png)]]
>
> This styling issue appears only in media uploader popup. Ref: [Screen
> recording]https://cloudup.com/cP_trjcTLKY
>
> This bug doesn't occur in "Upload New Media" screen (under /wp-admin >
> Media > Add New). Ref:
>
> [[Image(https://cldup.com/ON-hjBf3uS.png)]]
>
> **Steps to reproduce the issue**
>
> 1. Disable media upload by assigning not-writeable permissions to the
> upload directory
> 2. Create an image/media file with longer name, e.g.:
> 480071194_18488060998058819_8111621425497874072_n.jpeg
> 3. Login to your site with any role that allows post editing
> 4. Upload the image to your new/existing post via "Set featured image"
> button that appears in the top right side of post editor sidebar
>
> **Additional info**
>
> Test site details (copy from Site Health tool):
>
> `
> ### wp-core ###
>
> version: 6.7.2
> site_language: en_US
> user_language: en_US
> timezone: Asia/Jakarta
> permalink: /%year%/%monthnum%/%day%/%postname%/
> https_status: true
> multisite: false
> user_registration: 0
> blog_public: 0
> default_comment_status: open
> environment_type: production
> user_count: 2
> dotorg_communication: true
>
> ### wp-paths-sizes ###
>
> wordpress_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id
> wordpress_size: 57.27 MB (60054216 bytes)
> uploads_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/uploads
> uploads_size: 1.39 MB (1457332 bytes)
> themes_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/themes
> themes_size: 20.64 MB (21639429 bytes)
> plugins_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/plugins
> plugins_size: 80.99 MB (84928677 bytes)
> fonts_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/uploads/fonts
> fonts_size: directory not found
> database_size: 7.42 MB (7782400 bytes)
> total_size: 167.72 MB (175862054 bytes)
>
> ### wp-dropins (1) ###
>
> maintenance.php: true
>
> ### wp-active-theme ###
>
> name: Botiga (botiga)
> version: 2.2.17
> author: [ removed ]
> author_website: [ removed ]
> parent_theme: none
> theme_features: core-block-patterns, widgets-block-editor, post-
> thumbnails, automatic-feed-links, title-tag, menus, post-formats, html5,
> custom-background, customize-selective-refresh-widgets, custom-logo,
> align-wide, editor-color-palette, editor-font-sizes, responsive-embeds,
> block-templates, appearance-tools, custom-header, woocommerce, wc-
> product-gallery-zoom, wc-product-gallery-slider, wc-product-gallery-
> lightbox, widgets
> theme_path:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/themes/botiga
> auto_update: Disabled
>
> ### wp-themes-inactive (5) ###
>
> Astra: version: 4.8.11, author: Brainstorm Force (latest version:
> 4.8.12), Auto-updates disabled
> Storefront: version: 4.6.1, author: Automattic, Auto-updates disabled
> Twenty Twenty-Five: version: 1.0, author: the WordPress team (latest
> version: 1.1), Auto-updates disabled
> Twenty Twenty-Four: version: 1.3, author: the WordPress team, Auto-
> updates disabled
> Twenty Twenty-Three: version: 1.6, author: the WordPress team, Auto-
> updates disabled
>
> ### wp-plugins-active (11) ###
>
> Botiga Force Classic Cart and Checkout Pages: version: 1.0.0, author:
> Kharis Sulistiyono, Auto-updates disabled
> Botiga Pro: version: 1.4.12, author: aThemes, Auto-updates disabled
> Dummy Products Creator: version: 1.0.0, author: Kharis Sulistiyono, Auto-
> updates disabled
> Merchant: version: 2.0.0, author: aThemes (latest version: 2.0.1), Auto-
> updates disabled
> Merchant Pro: version: 2.0.0, author: aThemes (latest version: 2.0.1),
> Auto-updates disabled
> Plugin Check (PCP): version: 1.3.1, author: WordPress Performance Team
> and Plugin Review Team (latest version: 1.4.0), Auto-updates disabled
> Risbl Admin: version: 0.0.1, author: Your Name, Auto-updates disabled
> RSN Debugger: version: 1.0, author: Ahmad Wael, Auto-updates disabled
> UpdraftPlus - Backup/Restore: version: 1.24.11, author: TeamUpdraft,
> DavidAnderson (latest version: 1.25.1), Auto-updates disabled
> WooCommerce: version: 9.6.1, author: Automattic (latest version: 9.6.2),
> Auto-updates disabled
> WP Test Email: version: 1.1.8, author: Boopathi Rajan, Auto-updates
> disabled
>
> ### wp-plugins-inactive (4) ###
>
> Akismet Anti-spam: Spam Protection: version: 5.3.5, author: Automattic -
> Anti-spam Team (latest version: 5.3.7), Auto-updates disabled
> Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates
> disabled
> Merchant Pro: version: 1.11.2, author: aThemes, Auto-updates disabled
> Risbl Minimal Admin: version: 0.0.1, author: Kharis Sulistiyono, Auto-
> updates disabled
>
> ### wp-media ###
>
> image_editor: WP_Image_Editor_GD
> imagick_module_version: Not available
> imagemagick_version: Not available
> imagick_version: Not available
> file_uploads: 1
> post_max_size: 10M
> upload_max_filesize: 10M
> max_effective_size: 10 MB
> max_file_uploads: 20
> gd_version: bundled (2.1.0 compatible)
> gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
> ghostscript_version: unknown
>
> ### wp-server ###
>
> server_architecture: Linux 5.14.0-427.42.1.el9_4.x86_64 x86_64
> httpd_software: LiteSpeed
> php_version: 7.4.33 64bit
> php_sapi: litespeed
> max_input_variables: 1000
> time_limit: 30
> memory_limit: 256M
> max_input_time: 60
> upload_max_filesize: 10M
> php_post_max_size: 10M
> curl_version: 7.76.1 OpenSSL/3.2.2
> suhosin: false
> imagick_availability: false
> pretty_permalinks: true
> htaccess_extra_rules: true
> current: 2025-02-17T17:05:16+00:00
> utc-time: Monday, 17-Feb-25 17:05:16 UTC
> server-time: 2025-02-18T00:05:13+07:00
>
> ### wp-database ###
>
> extension: mysqli
> server_version: 10.11.10-MariaDB-cll-lve
> client_version: mysqlnd 7.4.33
> max_allowed_packet: 268435456
> max_connections: 512
>
> ### wp-constants ###
>
> WP_HOME: undefined
> WP_SITEURL: undefined
> WP_CONTENT_DIR:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content
> WP_PLUGIN_DIR:
> /home/sitr4466/public_html/home_dir_release13518381420.sitebox.my.id/wp-
> content/plugins
> WP_MEMORY_LIMIT: 40M
> WP_MAX_MEMORY_LIMIT: 256M
> WP_DEBUG: false
> WP_DEBUG_DISPLAY: true
> WP_DEBUG_LOG: false
> SCRIPT_DEBUG: false
> WP_CACHE: false
> CONCATENATE_SCRIPTS: undefined
> COMPRESS_SCRIPTS: undefined
> COMPRESS_CSS: undefined
> WP_ENVIRONMENT_TYPE: undefined
> WP_DEVELOPMENT_MODE: undefined
> DB_CHARSET: utf8mb4
> DB_COLLATE: undefined
>
> ### wp-filesystem ###
>
> wordpress: writable
> wp-content: writable
> uploads: not writable
> plugins: writable
> themes: writable
> fonts: not writable
>
> `
New description:
[[Image(https://cldup.com/bHPuHvWosB.png)]]
This styling issue appears only in media uploader popup. [Screen recording
https://cloudup.com/cP_trjcTLKY]
This bug doesn't occur in "Upload New Media" screen (under /wp-admin >
Media > Add New). Ref:
[[Image(https://cldup.com/ON-hjBf3uS.png)]]
**Steps to reproduce the issue**
1. Disable media upload by assigning not-writable permissions to the
upload directory
2. Create an image/media file with longer name, e.g.:
`480071194_18488060998058819_8111621425497874072_n.jpeg`
3. Login to your site with any role that allows post editing
4. Upload the image to your new/existing post via "Set featured image"
button that appears in the top right side of post editor sidebar
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62980#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list