Updated to reflect live site
Signed-off-by: Sophia Atkinson <sophialul@protonmail.com>
This commit is contained in:
@ -65,8 +65,12 @@ function apelly_blacklist_domain_root ( $bol, $url ) {
|
||||
|
||||
// stop
|
||||
//yourls_die( 'Blacklisted domain', 'Forbidden', 403 );
|
||||
"<center>Blacklisted domain.</center>";
|
||||
die();
|
||||
return array(
|
||||
'status' => 'fail',
|
||||
'code' => 'error:url',
|
||||
'message' => 'Blacklisted domain',
|
||||
'errorCode' => '403',
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -104,7 +108,7 @@ function apelly_blacklist_domain_form () {
|
||||
<input type="hidden" name="nonce" value="$nonce" />
|
||||
|
||||
<p>Blacklist following domains</p>
|
||||
<p><textarea cols="60" rows="15" name="blacklist_form">$domain_list_display</textarea></p>
|
||||
<p><textarea class="blacklist-domains" cols="60" rows="15" name="blacklist_form">$domain_list_display</textarea></p>
|
||||
|
||||
<p><input type="submit" value="Save" /></p>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user