Closed julien-jacob closed 4 years ago
Dear @julien-jacob
thanks for your report. i've to investigate the issue - the error code sounds weird since the $attb
variable should be an array not a string. maybe it's a compatibility issue with the current wordpress release or php .
btw. shortcodes are deprecated and should not used anymore - take a look on the full visual editor integration
br, Andi
fixed within the master branch. it is only raised in case the generic enlighter shortcode is used without attributes
it is caused by shortcode_parse_atts
which returns a string instead of an empty array in case no attributes were found (great wp api consistency.....)
however, thanks for your report!
Hello !
I have this warning when I use a shortcode like : [enlighter lang="javascript"]alert('hello');[/enlighter]
I fix it with change :
by
In /wp-content/plugins/enlighter/class/ShortcodeFilter.php on line 84 And no Warnig after :) I use a bad shortcode syntax ?
Best regards