Fix fcn_all_blocks

lol
This commit is contained in:
Tetrakern 2023-08-15 16:20:14 +02:00
parent e1df9b235d
commit 2a85fdd645

View File

@ -291,7 +291,7 @@ function fictioneer_allowed_block_types() {
'jetpack/payment-buttons'
);
if ( ! current_user_can( 'fcn_all_blocks' ) ) {
if ( current_user_can( 'fcn_all_blocks' ) ) {
$allowed = array_merge( $base, $extra, $plugins );
} else {
$allowed = $base;