We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41cb7f commit 3e2c21bCopy full SHA for 3e2c21b
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