diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 11:11:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 11:11:49 +0300 |
commit | 0a2dcacbcf01e1ebb225570fb99811c4215c6ea9 (patch) | |
tree | 8ffae105e37718ecbd8a0de723ee95b68fb893c7 /plugins/no_iframes/init.php | |
parent | 81a10f69bcc38b62aad79f9be716adcf4ed49d2d (diff) |
normalize some mismatching hook function definitions to match base Plugin class
Diffstat (limited to 'plugins/no_iframes/init.php')
-rw-r--r-- | plugins/no_iframes/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/no_iframes/init.php b/plugins/no_iframes/init.php index 3cfa15915..dc297b60e 100644 --- a/plugins/no_iframes/init.php +++ b/plugins/no_iframes/init.php @@ -11,7 +11,7 @@ class No_Iframes extends Plugin { $host->add_hook($host::HOOK_SANITIZE, $this); } - function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes) { + function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes, $article_id) { $xpath = new DOMXpath($doc); $entries = $xpath->query('//iframe'); |