We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f41cb7f + 3e2c21b commit 46bd91cCopy full SHA for 46bd91c
1 file changed
classes/Visualizer/Gutenberg/Block.php
@@ -492,7 +492,7 @@ public function get_visualizer_data( $post ) {
492
* @access public
493
*/
494
public function get_query_data( $data ) {
495
- if ( ! current_user_can( 'administrator' ) ) {
+ if ( ! current_user_can( 'administrator' ) || ( is_multisite() && ! is_super_admin() ) ) {
496
return false;
497
}
498
0 commit comments