[wp-trac] [WordPress Trac] #60652: font_dir filter enters an infinite loop if wp_get_upload_dir() is used in the filter callback

WordPress Trac noreply at wordpress.org
Mon Apr 1 02:52:02 UTC 2024


#60652: font_dir filter enters an infinite loop if wp_get_upload_dir() is used in
the filter callback
----------------------------------------+----------------------------
 Reporter:  mmaattiiaass                |       Owner:  peterwilsoncc
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  6.5
Component:  General                     |     Version:  trunk
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-unit-tests needs-patch  |     Focuses:
----------------------------------------+----------------------------
Changes (by azaozz):

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


Comment:

 In [changeset:"57902" 57902]:
 {{{
 #!CommitTicketReference repository="" revision="57902"
 Docs: Improve the docblock for `_wp_filter_font_directory()`. Remove the
 recommended use section as this is a private use only function.

 Props peterwilsoncc, swissspidy, azaozz.
 Fixes #60652.
 }}}

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


More information about the wp-trac mailing list