Tim
Forum Replies Created
-
I’m seeing the same issue when SCRIPT_DEBUG is on. When SCRIPT_DEBUG is off, the .min.js version of the script crashes even harder and locks up the editor.
.O in webpack doesn’t exist. What is .O? Is that another obfuscated object?
- This reply was modified 5 months, 1 week ago by Tim.
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] How to add explicit size to imageHi,
I noticed the gallery plugin doesn’t produce height or width attributes and it is causing Content Layout Shifts. This is a key metric in Google’s latest Core Web Vitals update and is drastically affecting scores. Is there a way to easily add height/width info to the html output?It can be seen in the siteorigin panels in the slide-item element:
<article class=”slide-item “></article>There are no height=”” or width=”” attributes
- This reply was modified 3 years, 4 months ago by Tim.
Forum: Plugins
In reply to: [Social Icons Widget & Block by WPZOOM] has an unsupported `type` valueThanks for the workaround. We’re going to bypass this error using the instructions you provided, but it’s actually a simple fix which I believe you could incorporate rather quickly. Below is an example of a tag that’s generated by your plugin.
<link rel=”preload” as=”font” id=’wpzoom-social-icons-font-academicons-woff-css’ href=’https://example.com/wp-content/plugins/social-icons-widget-by-wpzoom/assets/font/academicons.woff?v=1.8.6′ type=’text/css’ type=”font/woff” crossorigin />
See how there are two type tags. The first one is wrong as it says text/css. The second is correct, keep that one. Problem solved.
Also, your tags seem to alternate between single and double quotes which isn’t great form, but it’s probably not as problematic as having two type fields.
I haven’t looked too closely, but the issue is probably in social-icons-widget-by-wpzoom.php line 113 to line 122.
I’d be happy to provide more assistance if needed.