create-block-theme/includes
Birgit Pauli-Haack 1ccb683f64 Documentation: update capability example after multisite super-admin gate
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.
2026-07-07 16:02:25 +02:00
..
create-theme Documentation: update capability example after multisite super-admin gate 2026-07-07 16:02:25 +02:00
class-create-block-theme-admin-landing.php Require super-admin for theme-modifying REST routes on multisite (#850) 2026-06-19 14:13:28 +01:00
class-create-block-theme-api.php Merge branch 'trunk' into refactor/extract-theme-save-service 2026-07-07 15:54:00 +02:00
class-create-block-theme-editor-tools.php Require super-admin for theme-modifying REST routes on multisite (#850) 2026-06-19 14:13:28 +01:00
class-create-block-theme-loader.php Add prefix to the names in the PHP global namespace. (#628) 2024-05-14 07:27:30 -04:00
class-create-block-theme.php PHPCS: enalbe VariableAnalysis.CodeAnalysis.VariableAnalysis rule (#782) 2025-09-16 01:07:34 +09:00
index.php Results of lint:php:fix 2023-01-27 17:27:18 +00:00