Skip to content

Commit 1d9aa0f

Browse files
committed
WP/Capabilities: update the capabilities list based on WP 6.8.1
Based on a manual check of WP Core at commit WordPress/wordpress-develop@c5d3e24.
1 parent 21a2a82 commit 1d9aa0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WordPress/Sniffs/WP/CapabilitiesSniff.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ final class CapabilitiesSniff extends AbstractFunctionParameterSniff {
173173
*
174174
* List is sorted alphabetically.
175175
*
176-
* {@internal To be updated after every major release. Last updated for WordPress 6.1.0.}
176+
* {@internal To be updated after every major release. Last updated for WordPress 6.8.1.}
177177
*
178178
* @since 3.0.0
179179
*
@@ -229,6 +229,7 @@ final class CapabilitiesSniff extends AbstractFunctionParameterSniff {
229229
'edit_app_password' => true,
230230
'edit_categories' => true,
231231
'edit_block' => true, // Only seen in tests.
232+
'edit_block_binding' => true,
232233
'edit_blocks' => true, // Alias for 'edit_posts', but supported.
233234
'edit_comment' => true, // Alias, but supported.
234235
'edit_comment_meta' => true,

0 commit comments

Comments
 (0)