move admin permission decision out of the router - it is already provided in the module and the higher level check is causing some oembed redirect issues.
This commit is contained in:
@@ -1566,7 +1566,7 @@ function widget_admin($arr) {
|
||||
*/
|
||||
|
||||
if(! is_site_admin()) {
|
||||
return login(false);
|
||||
return '';
|
||||
}
|
||||
|
||||
$o = '';
|
||||
|
||||
Reference in New Issue
Block a user