Grant Kinney
Grant Kinney
I've opened an experimental draft PR here using the Time to Read block: https://github.com/WordPress/gutenberg/pull/61504 Copying the block files and adding the necessary pieces to turn it into a stand-alone block...
I started looking into how other directories in `wp-content` are created by WordPress, to see if there's a convention that could be used here. For the `/uploads` directory, the `wp_upload_dir`...
This is proving very tricky to replicate. Generally, when a font is uploaded, the fonts directory should be created automatically, if needed - `WP_REST_Font_Faces_Controller::handle_font_file_upload` calls `wp_handle_upload` (after filtering `wp_upload_dir`) -...
Noting that I ran into this issue again while testing https://github.com/WordPress/gutenberg/pull/58839. One way of replicating this might be changing the fonts directory with a filter to a path that hasn't...
Thanks for testing @kjnanda ! I don't think we can be sure this is fixed, as it's happening very intermittently. [I encountered the error again just yesterday](https://github.com/WordPress/gutenberg/issues/59023#issuecomment-1969795571).
Here's how I've been able to reproduce this today, (using wordpress-develop trunk) Add a filter to specify a fonts directory that you've never used before for uploading files. ```php //...
Being able to replicate this issue most of the time locally, I can now confirm that it's caused by a race condition that happens when - The fonts directory has...
I've opened a PR with minimal changes needed to work around the issue, for now, until we can fix the underlying problem in `wp_upload_dir`/`wp_mkdir_p`: https://github.com/WordPress/gutenberg/pull/60180
@swissspidy Done here: https://core.trac.wordpress.org/ticket/60855#ticket
Having just installed create-block-theme for the first time a couple weeks ago, my experience was that having the wp-admin interface in it's own page under Appearance made it immediately evident...