Ability to install fonts via GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ to
wp-content/fonts for WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. sites.
Users are unable to install Google Fonts via the Gutenberg Site Editor due to permission errors related to the
When a user tries to install a font, a rest apiREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. call is made to a rest controller and checks permissions before installing the font. However
wp_is_writable( $upload_dir ) is returning
What did we try so far:
The folder originally didn’t exist so we created the folder
wp-content/fonts and deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. it to production (commit). However, we are still getting the same permissions error.
I’ve tried debugging permissions via my sandbox but I’m not sure that’s relevant:
Permissions of/home/wordcamp/public_html/wp-content/fonts: 40755 Current User: wporgdev Owner of /home/wordcamp/public_html/wp-content/fonts is: wporgdev
Can I get some help debugging this? I’m not quite sure what next to try.