add default value
This commit is contained in:
parent
41a58ccda5
commit
5ad36d0027
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ function url_to_authorid( $url ) {
|
||||||
* @uses apply_filters() Calls 'activitypub_blacklist' filter
|
* @uses apply_filters() Calls 'activitypub_blacklist' filter
|
||||||
*/
|
*/
|
||||||
function get_blacklist() {
|
function get_blacklist() {
|
||||||
$blacklist = \get_option( 'activitypub_blacklist' );
|
$blacklist = \get_option( 'activitypub_blacklist', 'gab.com' );
|
||||||
$blacklist_hosts = \explode( \PHP_EOL, $blacklist );
|
$blacklist_hosts = \explode( \PHP_EOL, $blacklist );
|
||||||
|
|
||||||
// if no values have been set, revert to the defaults
|
// if no values have been set, revert to the defaults
|
||||||
|
|
Loading…
Reference in a new issue