← All changes
|
modules/mcp/abilities/list-resources-ability.php
+2
-1
4.3.0-beta2
→
4.3.1
View file →
| @@ -51,9 +51,10 @@ | ||
| 51 | 51 | 'idempotent' => true, |
| 52 | 52 | 'destructive' => false, |
| 53 | 53 | ], |
| 54 | 54 | ], |
| 55 | - fn() => current_user_can( 'edit_posts' ) | |
| 55 | + fn() => current_user_can( 'edit_posts' ), | |
| 56 | + Ability_Definition::empty_object_input_schema() | |
| 56 | 57 | ); |
| 57 | 58 | } |
| 58 | 59 | |
| 59 | 60 | public function execute( $input = [] ) { |