[wp-trac] [WordPress Trac] #61297: Font Directory uploads ignore `subdir` property.

WordPress Trac noreply at wordpress.org
Wed Jun 5 23:17:36 UTC 2024


#61297: Font Directory uploads ignore `subdir` property.
--------------------------------------+----------------------------
 Reporter:  peterwilsoncc             |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.6
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58353" 58353]:
 {{{
 #!CommitTicketReference repository="" revision="58353"
 Editor (Font Library): Store font subdirectory in post meta.

 Stores the font file sub-directory in the `wp_font_face` post meta.
 Similar to attachments, only the portion of the path relative to the base
 directory is stored.

 This ensures the files can be deleted alongside their post on sites using
 a plugin to store font files in sub-directories. Previously running such a
 plugin would result in the files remaining on the file system post delete.

 Props costdev, grantmkin, peterwilsoncc.
 Fixes #61297.
 }}}

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


More information about the wp-trac mailing list