don't implement the default embed whitelist just yet

This commit is contained in:
redmatrix 2016-02-03 20:29:46 -08:00
parent c75f76f740
commit 24e2eedd0f

View File

@ -703,8 +703,9 @@ function admin_page_security(&$a) {
$embed_coop = intval(get_config('system','embed_coop')); $embed_coop = intval(get_config('system','embed_coop'));
if((! $whiteembeds) && (! $blackembeds) && (! $embed_coop)) // wait to implement this until we have a co-op in place.
$whiteembeds_str = "youtube.com\nyoutu.be\ntwitter.com\nvimeo.com\nsoundcloud.com\nwikipedia.com"; // if((! $whiteembeds) && (! $blackembeds) && (! $embed_coop))
// $whiteembeds_str = "youtube.com\nyoutu.be\ntwitter.com\nvimeo.com\nsoundcloud.com\nwikipedia.com";
$t = get_markup_template('admin_security.tpl'); $t = get_markup_template('admin_security.tpl');
return replace_macros($t, array( return replace_macros($t, array(