Skip to content

Commit

Permalink
magic_quotes_gpc() no longer exists
Browse files Browse the repository at this point in the history
… just doSlash for security.
  • Loading branch information
jools-r committed Jan 5, 2021
1 parent 3def124 commit 19510e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot_wtc.php
Expand Up @@ -293,7 +293,7 @@ function bot_update_button($btn_class='publish')

function bot_wtc_is_region($item)
{
$item = get_magic_quotes_gpc() ? $item : doSlash($item) ;
$item = doSlash($item);

if ($item == '$(\"#main_content\")'
|| $item == '$(\"#supporting_content\")'
Expand Down

0 comments on commit 19510e9

Please sign in to comment.