1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

PHP8 fixes. Tests added for online shortcodes, page/e_shortcode.php

This commit is contained in:
Cameron
2021-01-08 11:46:30 -08:00
parent e33b403093
commit eec9a163cb
5 changed files with 149 additions and 17 deletions

View File

@@ -135,6 +135,13 @@ class e_parse_shortcode
}
public function clearRegistered()
{
$this->registered_codes = array();
$this->scClasses = array();
}
/**
* Register shortcode
* $classFunc could be function name, class name or object