mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 01:38:35 +00:00
Changing the font library is something we expect hosts to perform. It's important that we make this filter as seemless as possible. This commit prevents a potential infinite loop caused by calling wp_get_upload_dir() within the font_dir filter. Props mmaattiiaass, ironprogrammer, costdev, swissspidy. Fixes #60652. Built from https://develop.svn.wordpress.org/trunk@57740 git-svn-id: http://core.svn.wordpress.org/trunk@57241 1a063a9b-81f0-0310-95a4-ce76da25c4cd