[wp-trac] [WordPress Trac] #60528: Font Library: first time install fails if /wp-content/fonts isn't created.
WordPress Trac
noreply at wordpress.org
Tue Feb 13 16:39:35 UTC 2024
#60528: Font Library: first time install fails if /wp-content/fonts isn't created.
--------------------------+-----------------------------
Reporter: mmaattiiaass | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The first time the user want to install a font via the font library, it
fails with this error message:
{{{
Some font faces were installed. There were some errors. Fetch error:
Unable to create directory wp-content/fonts. Is its parent directory
writable by the server?
}}}
After the first attempt, the font installation process works as expected.
This happens because the /wp-content/fonts is not created by the time of
the first attempt, after the first one it is created and it works as
expected. A fix for this probably consists of creating the folder before
trying to write in it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60528>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list