diff --git a/classes/Visualizer/Gutenberg/Block.php b/classes/Visualizer/Gutenberg/Block.php index c648112b7..ef1f8d8a8 100644 --- a/classes/Visualizer/Gutenberg/Block.php +++ b/classes/Visualizer/Gutenberg/Block.php @@ -492,7 +492,7 @@ public function get_visualizer_data( $post ) { * @access public */ public function get_query_data( $data ) { - if ( ! current_user_can( 'edit_posts' ) ) { + if ( ! current_user_can( 'administrator' ) ) { return false; }