add default value

This commit is contained in:
Matthias Pfefferle 2020-05-18 16:46:31 +02:00
parent 41a58ccda5
commit 5ad36d0027

View file

@ -296,7 +296,7 @@ function url_to_authorid( $url ) {
* @uses apply_filters() Calls 'activitypub_blacklist' filter
*/
function get_blacklist() {
$blacklist = \get_option( 'activitypub_blacklist' );
$blacklist = \get_option( 'activitypub_blacklist', 'gab.com' );
$blacklist_hosts = \explode( \PHP_EOL, $blacklist );
// if no values have been set, revert to the defaults