Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control access with the view_block_debug capability #5

Merged
merged 4 commits into from
Feb 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rearrange feature; use latest Type Extensions
dlh01 committed Feb 8, 2025
commit f7f93ec9a0eadaaf2f8448af56ab8a3f98b3fa21
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,8 @@
"homepage": "https://github.com/alleyinteractive/wp-block-debug",
"require": {
"php": "^8.2",
"alleyinteractive/composer-wordpress-autoloader": "^1.0"
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
"alleyinteractive/wp-type-extensions": "^3.0"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^2.0",
4 changes: 3 additions & 1 deletion src/main.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@
* Instantiate the plugin.
*/
function main(): void {
$plugin = new Group(
$plugin = new Group();

$plugin->include(
new Quick_Feature(
fn () => add_filter(
'map_meta_cap',