This is a comment about the Add local fonts to your theme feature not working.
-
This article was written with a translator.
Even if you upload the font, no message or error appears, and there is a bug where the font cannot be uploaded.
When I looked for the cause, it was when current_user_can( ‘edit_themes’ ) returned false in save_local_fonts_to_theme().My account had administrator privileges, but due to the define(‘DISALLOW_FILE_EDIT’, true) item in wp-config.php
The current_user_can( ‘edit_themes’ ) function returns false.
I hope that it will be updated to include a notification function for that item or to check permissions in other ways.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘This is a comment about the Add local fonts to your theme feature not working.’ is closed to new replies.