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:
@@ -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
|
||||
|
Reference in New Issue
Block a user