[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 22:58:48 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 swissspidy):

 I'm -1 on prematurely adding docblocks saying "this function will be
 deprecated" because that definitely is not certain. This is a private
 function that won't be listed in the function reference anyway, so this is
 only relevant for people looking at the source code directly.

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


More information about the wp-trac mailing list