Commit d70d4a0
docs: clarify the processFile plan check is a cache-aware fallback
GutenbergKit validates uploads in the WebView against the site's
allowedMimeTypes (fetched from /wp-block-editor/v1/settings and cached on
disk) before the request reaches this delegate, so it rejects most
disallowed types with its own localized message first. Document that this
app-side check is a fallback for the cache-miss/undefined-settings path
and can over-reject when its static MimeTypes table is stricter than the
server's cached list.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ada3932 commit d70d4a0
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments