[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 16:53:50 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.1
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch fixed-      |     Focuses:
  major dev-reviewed                             |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"57907" 57907]:
 {{{
 #!CommitTicketReference repository="" revision="57907"
 Docs: Improve the docblock for `_wp_filter_font_directory()`.

 Removes the recommended use section as this is a private use only
 function.

 Reviewed by davidbaumwald.
 Merges [57902] to the 6.5 branch.
 Props peterwilsoncc, swissspidy, azaozz.
 Fixes #60652.
 }}}

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


More information about the wp-trac mailing list