2.8.8 template integration improvements and 2.8.8 pre-logs
Posted: Mon Jul 01, 2024 9:04 am
About the template integration
coming fixes:
the console log an origin error, intentionally leaved in place at the release time last night on 2.8.7. Even if all works as expected, the check of the origin is not done into the parent wp page, and despite it do not lead to any security breach, it require to be fixed and the js code require a little improvement, But it is, as said, nothing very important.
the template integration via shortcode, place the iframe, when the shortcode is added via gutenberg into new templates, in a way that is not completely vertically centered. The iframe result to be with a minor padding/margin respect to the top of the containing element.
Into the old code of the phpBB overall_footer.html , it was fixed by this simple (accepted by the same library developer as the (one of) good way to fix it) code:
but it seem to me that into the news WP theme Templates (or himself the integration via shortcode) the issue come out, and i will check how it can be resolved. Any hint very appreciated!
And please report here any bug you may find out on 2.8.7 in the while.
p.s why to not solve it into the parent? Possible?
coming fixes:
the console log an origin error, intentionally leaved in place at the release time last night on 2.8.7. Even if all works as expected, the check of the origin is not done into the parent wp page, and despite it do not lead to any security breach, it require to be fixed and the js code require a little improvement, But it is, as said, nothing very important.
the template integration via shortcode, place the iframe, when the shortcode is added via gutenberg into new templates, in a way that is not completely vertically centered. The iframe result to be with a minor padding/margin respect to the top of the containing element.
Into the old code of the phpBB overall_footer.html , it was fixed by this simple (accepted by the same library developer as the (one of) good way to fix it) code:
Code: Select all
// fix vertical iframe centered in certain cases
var w3iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
if(w3iOS == false)
{
var bd = document.getElementsByTagName("body");
var t = document.getElementById(bd[0].getAttribute("id"));
if( typeof t != 'undefined' || t != false )
{
t.setAttribute("style", "position:fixed;top:0%;right:0%;bottom:0%;left:0%;width:100%;margin:0px;");
}
}
And please report here any bug you may find out on 2.8.7 in the while.
p.s why to not solve it into the parent? Possible?