[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
Thu Mar 28 21:03:06 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:  reopened
 Priority:  normal                      |   Milestone:  6.5
Component:  General                     |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-unit-tests needs-patch  |     Focuses:
----------------------------------------+----------------------------

Comment (by azaozz):

 In [60652.diff
 https://core.trac.wordpress.org/attachment/ticket/60652/60652.diff]: Fix
 the docblock for `_wp_filter_font_directory()`.

 As this is a documentation only change, it can be committed at any point
 before the release. However it is still preferable to commit it asap as
 the release is in few days. @mmaattiiaass, @peterwilsoncc, @swissspidy,
 please review if you get a chance.

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


More information about the wp-trac mailing list