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

WordPress Trac noreply at wordpress.org
Thu Jun 27 21:13:54 UTC 2024


#60835: Fix and improve handling of uploading of font files
----------------------------------------------------+---------------------
 Reporter:  azaozz                                  |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  high                                    |   Milestone:  6.6
Component:  Upload                                  |     Version:  6.5
 Severity:  normal                                  |  Resolution:
 Keywords:  needs-testing has-patch has-unit-tests  |     Focuses:
----------------------------------------------------+---------------------

Comment (by azaozz):

 In 60835.diff: Prevent removal of the '_wp_filter_font_directory' callback
 from the `upload_dir` filter.

 This seems to be the most minimal change possible that would still fix the
 worst bug. The intention is to remove this in WP 6.7, deprecate this
 filter callback, and commit the patch from https://github.com/WordPress
 /wordpress-develop/pull/6407 (in its current form of after additional
 fixes/changes).

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


More information about the wp-trac mailing list