[wp-trac] [WordPress Trac] #65211: Font upload shows failure message but font is added to library

WordPress Trac noreply at wordpress.org
Fri May 8 18:09:22 UTC 2026


#65211: Font upload shows failure message but font is added to library
--------------------------+-----------------------------
 Reporter:  369work       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-testing
  Focuses:                |
--------------------------+-----------------------------
 Description:
 When uploading a font from Appearance > Fonts, WordPress shows an upload
 failure error.
 However, the uploaded font is actually added to the Font Library list.

 Steps to reproduce:
 1. Go to Appearance > Fonts.
 2. Click upload/add new font.
 3. Upload ShipporiMincho-Regular.woff2.
 4. Upload MPLUSRounded1c-Regular.woff2.
 5. Upload NotoSerifJP-VariableFont_wght.woff2.

 Actual result:
 - Upload failed error is shown in the UI on every upload.
 - Browser console shows: Cannot read properties of undefined (reading
 'styles').
 - All uploaded fonts still appear in the Font Library list.

 Uploaded files:
 - ShipporiMincho-Regular.woff2
 - MPLUSRounded1c-Regular.woff2
 - NotoSerifJP-VariableFont_wght.woff2

 Expected result:
 - If the font is successfully stored and listed, no failure error should
 be shown.
 - The UI result and backend result should be consistent.

 Environment:
 - WordPress version: 7.0 RC3
 - Theme: TT5
 - Active plugins: all plugins disabled
 - Browser/OS: Edge

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65211>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list