File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function load_plugin() {
132132 // Settings component.
133133 require_once $ includes_path . '/settings/settings-fields.php ' ;
134134 require_once $ includes_path . '/settings/editor-preview.php ' ;
135- require_once $ includes_path . '/settings/class-version-switch.php ' ;
135+ require_once $ includes_path . '/settings/class-version-switch.php ' ;
136136 require_once $ includes_path . '/settings/settings.php ' ;
137137
138138 // Cloud List Table shared functions.
@@ -357,6 +357,10 @@ public function get_cap(): string {
357357 return $ this ->get_network_cap_name ();
358358 }
359359
360+ if ( is_multisite () && ! $ this ->is_subsite_menu_enabled () ) {
361+ return $ this ->get_network_cap_name ();
362+ }
363+
360364 return $ this ->get_cap_name ();
361365 }
362366
You can’t perform that action at this time.
0 commit comments