mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
"escapeTags" is removed from the addons
This commit is contained in:
parent
6a7f36ba89
commit
cff3dd67b0
12 changed files with 25 additions and 34 deletions
|
@ -791,8 +791,8 @@ function twitter_post_hook(App $a, array &$b)
|
|||
|
||||
function twitter_addon_admin_post(App $a)
|
||||
{
|
||||
$consumerkey = !empty($_POST['consumerkey']) ? Strings::escapeTags(trim($_POST['consumerkey'])) : '';
|
||||
$consumersecret = !empty($_POST['consumersecret']) ? Strings::escapeTags(trim($_POST['consumersecret'])) : '';
|
||||
$consumerkey = !empty($_POST['consumerkey']) ? trim($_POST['consumerkey']) : '';
|
||||
$consumersecret = !empty($_POST['consumersecret']) ? trim($_POST['consumersecret']) : '';
|
||||
DI::config()->set('twitter', 'consumerkey', $consumerkey);
|
||||
DI::config()->set('twitter', 'consumersecret', $consumersecret);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue