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

WordPress Trac noreply at wordpress.org
Thu Jun 20 16:29:11 UTC 2024


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58448" 58448]:
 {{{
 #!CommitTicketReference repository="" revision="58448"
 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.

 Reviewed by hellofromTonya.
 Merges [58353] to the 6.5 branch.

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

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


More information about the wp-trac mailing list