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

WordPress Trac noreply at wordpress.org
Fri Jul 12 23:23:41 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.7
Component:  Upload                                  |     Version:  6.5
 Severity:  normal                                  |  Resolution:
 Keywords:  needs-testing has-patch has-unit-tests  |     Focuses:
----------------------------------------------------+---------------------

Comment (by peterwilsoncc):

 > it seems the crux of the disagreement is whether we think that opening
 an API for plugins to upload files to a folder of their choosing knowing
 that they can already do it (in a a less straightforward way).

 This is an accurate comment.

 The question I've been asking is different, though: is preventing plugins
 from bypassing the `font_dir` improved by easily allowing plugins to
 bypass the `uploads_dir` filter (and therefore offloading plugins)?

 Making a decision based exclusively on the code required for the font
 library, I don't think it is. Knowing what will be required by future core
 features may change my opinion but I don't know what is being proposed.

 Historically I have been the person to suggest my own commits be reverted
 or improved, I regret comments that I care more about having lines of code
 in core than improving WP but what is said is said.

 Can I please get an answer to my question above before proceeding furhter.

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


More information about the wp-trac mailing list