Scope Resolution Operator (::)
-
I’ve found a minor bug:
PHP Fatal error: Uncaught exception ‘ReflectionException’ with message ‘Function class_name::function_name() does not exist’ in wp-content/plugins/shortcode-reference/lib/ShortcodeReference.php:63here’s the fix:
shortcode-reference\lib\ShortcodeReference.php
add to line 61:
if ( (is_string($this->_function_name)) && (strpos($this->_function_name, ‘::’)!==false) ) $this->_function_name = explode(‘::’, $this->_function_name);https://www.ads-software.com/extend/plugins/shortcode-reference/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Scope Resolution Operator (::)’ is closed to new replies.