mirror of
https://github.com/WordPress/create-block-theme.git
synced 2026-07-27 21:48:03 +08:00
Trunk PR #850 replaced the inline current_user_can( 'edit_theme_options' ) closure on the /save route with CBT_Theme_API::can_modify_theme(), which requires super-admin on multisite in addition to the edit_theme_options capability. Update the docblock example so future CLI/non-REST callers know the current gate, not the pre-#850 one. Addresses reviewer feedback on #833. |
||
|---|---|---|
| .. | ||
| cbt-zip-archive.php | ||
| resolver_additions.php | ||
| theme-create.php | ||
| theme-fonts.php | ||
| theme-json.php | ||
| theme-locale.php | ||
| theme-media.php | ||
| theme-patterns.php | ||
| theme-readme.php | ||
| theme-save.php | ||
| theme-settings-save.php | ||
| theme-styles.php | ||
| theme-tags.php | ||
| theme-templates.php | ||
| theme-token-processor.php | ||
| theme-utils.php | ||
| theme-zip.php | ||