I have issue with Enfold theme too. When the Enhanced media shortcodes
option is not selected, there’s a following warning in debug.log recorded whenever I open a page with Enfold’s Masonry block:
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpuxss_eml_shortcode_atts' not found or invalid function name
Also the Masonry block is not rendered at all.
The reason is that in core/compatibility.php
the following snippet is added:
add_filter( 'shortcode_atts_av_masonry_entries', 'wpuxss_eml_shortcode_atts', 10, 3 );
However the wpuxss_eml_shortcode_atts
function is defined in another file (core/medialist.php
) that is only loaded when Enhanced media shortcodes
option is active.
Would be great to have a fix for this included in 2.8.1.