Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
James D
0 points
Beginner
Not 100% if this is a bug, but looks that way…
I noticed the warning messages in admin while going to edit the home page. The messages are hidden behind everything else after page load.
Looks like there may be a couple variable reference discrepancies within in the ‘/plugins/wlt_builder/pt-bulder.php’ file around lines 117, 118 and 121.
Note: The lines are trying to reference an invalid array “$in” instead of the correct one “$init”
It’s within the “pt_tinymce_config” function:
function pt_tinymce_config( $init ) {
Not 100% if this is a bug, but looks that way…
I noticed the warning messages in admin while going to edit the home page. The messages are hidden behind everything else after page load.
Looks like there may be a couple variable reference discrepancies within in the ‘/plugins/wlt_builder/pt-bulder.php’ file around lines 117, 118 and 121.
Note: The lines are trying to reference an invalid array “$in” instead of the correct one “$init”
It’s within the “pt_tinymce_config” function:
function pt_tinymce_config( $init ) {
$init['remove_linebreaks'] = false;
$init['convert_newlines_to_brs'] = true;
$init['remove_redundant_brs'] = false;
if(!empty(<b>$in</b>['extended_valid_elements'])){
<b>$in</b>['extended_valid_elements'] .= ',';
}
<b>$in</b>['extended_valid_elements'] .= '@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,div[*],dl,ul,ol,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]';
return $init;
}
I wonder if this is causing of some of the other strange issues members have experienced.
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now