mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Prevent infinite loops when filtering the font library folder.
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57740 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information
1 parent
a7943a9
commit 9c415ed
Showing
2 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters