[wp-trac] [WordPress Trac] #60835: FIx and improve handling of uploading font files

WordPress Trac noreply at wordpress.org
Sun Mar 24 20:04:05 UTC 2024


#60835: FIx and improve handling of uploading font files
--------------------------+--------------------
 Reporter:  azaozz        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.6
Component:  Upload        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Follow up to #60652 and [57868].

 As discussed at https://github.com/WordPress/wordpress-develop/pull/6211
 the code that enables uploading of font files by replacing the output of
 `wp_handle_upload()` by using the `upload_dir` filter is not the best
 solution. In addition it implements nested filters that can be pretty
 confusing so understand and/or use for plugin and theme authors.

 A more straightforward solution is needed for this and similar cases in
 the future.

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


More information about the wp-trac mailing list