mirror of
https://github.com/WordPress/create-block-theme.git
synced 2026-07-26 21:42:48 +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. |
||
|---|---|---|
| .. | ||
| create-theme | ||
| class-create-block-theme-admin-landing.php | ||
| class-create-block-theme-api.php | ||
| class-create-block-theme-editor-tools.php | ||
| class-create-block-theme-loader.php | ||
| class-create-block-theme.php | ||
| index.php | ||