Adam
Forum Replies Created
-
Forum: Plugins
In reply to: [Kadence Blocks — Page Builder Toolkit for Gutenberg Editor] Support for REMHi Ben, thanks. We need them for font-size, margin and padding settings if possible.
Forum: Plugins
In reply to: [Qubely - Advanced Gutenberg Blocks] Seems not to work with Reusable Blocks?Hi Fahim, we have the same problem. We use current version but no luck. We wanted to use Quebly exclusively, but this issue is a blocker for us. Can you tell what is the status of this issue?
Forum: Plugins
In reply to: [Async JavaScript] can breaks any dynamicaly injected external scriptThank you for explanation and the link to article.
Actually this polyfill is loaded on Chrome as well, when ‘ghost kit’ plugin is activated. We get quite annoyed by this, plus other issues we encounter, so we found alternative, that works without problems above.
The problem with this polyfill is that, it’s added by core wordpress, in react to some action, behaviour that happens in the ghost plugin. It’s loaded by this bit wp-includes/script-loader.php method wp_default_packages_vendor(). WP authors should get rid of this on core part.
- This reply was modified 6 years, 6 months ago by Adam.
Forum: Plugins
In reply to: [Async JavaScript] can breaks any dynamicaly injected external scriptIt did the trick, thank you.
Can you please tell if is there is any performance impact, when render blocking script is injected like this by Javascript? If so, is there a way to make it async by Async Javascript without editing plugin codebase?
@jan, thanks, sorry I didn’t know that.
- This reply was modified 6 years, 6 months ago by Adam.
Forum: Plugins
In reply to: [Kadence Blocks — Page Builder Toolkit for Gutenberg Editor] Support for REMHi Ben,
it would be great because we are using REMs a lot. Now we are switching from Elementor (which has it build-in), to Gutenberg, and we are looking for component libraries that can handle our needs.
- This reply was modified 6 years, 6 months ago by Adam.
Thank you Ben.
I just find out it works like that only when the grid is focused.
Forum: Plugins
In reply to: [Autoptimize] Some styles not loaded after activating Inline and Defer CSSSure, but I don’t want to share the link publicly. How can I share the link under the table?
ps. The idea to use onload snippet inline per element is probably bad. The order of JS event handlers execution couldn’t be guaranteed so in practice postponed styles may load in any order and CSS is order sensitive. This is probably why I have to fix some styles after activating AOFT.
https://wordpress.org/support/reply/12228541/edit/edit:
My styles get overridden by AOTF styles because they were the last in the head. I moved them to the beginning of the head and it solves styles overridden problem. The only issue left is this onload not executing.I also add AOTF style by myself, by adding it to wp_head. This lets me manage different AOTF styles per page and/or with other conditions. I still use ‘Inline and Defer CSS’ option but with empty textfield.
I use Mac Chrome 78.0.3904.108.
Forum: Plugins
In reply to: [Autoptimize] Some styles not loaded after activating Inline and Defer CSSAfter more digging I found what cause the problem. There are 3 optimized stylesheets included in header. But on load only one of them have ‘rel’ attribute set to ‘stylesheet’ when others stay as ‘preload’, even after the page is loaded.
Any idea how to fix this?
edit:
This can be fixed by snippet below but I believe this should be handled by AO.$(window).one('load', function() { $('link[rel="preload"]').attr('rel', 'stylesheet'); });Hi @jarfar
Sorry, but I don’t know how you can make it work on latest WP.
WordPress core automatically includes jquery-migrate, which is a tool that restores deprecated jQuery functions from version 1.9 and older.
That makes sense. We are using plugins that remove jquery-migrate. This is why the ‘live’ function wasn’t recognized. Probably more users are using plugins like that to get better performance of their website. I suggest to replace this already removed function calls with new one, there is no point to maintain it in future releases. It will only cause more issues in the future like the one reported.
- This reply was modified 6 years, 7 months ago by Adam.
Hi @ryanr14, thank you so much for clarifying this and for the link to the PR.
That’s very weird.
I’m using WP 5.2.1, which native jQuery is v1.12.4. This version doesn’t have “live” function because it was removed in version 1.9 (https://api.jquery.com/live/#live-events-handler). Sorry, but I don’t know how you can make it work on latest WP.
Forum: Reviews
In reply to: [WP fail2ban - Advanced Security] Was great until 4.x@negrusti, to which version you reverted?
ps. There is no 3.2.25 version in SVN repo.
Yes, this one is gone, but there is new one:
2 file(): Failed to enable crypto (/var/www/woo/public_html/wp-content/plugins/sassy-social-share/sassy-social-share.php:36)
2 file(https://woo.localhost.test/wp-content/plugins/sassy-social-share//admin/css/sassy-social-share-default-svg-vertical.css): failed to open stream: operation failed (/var/www/woo/public_html/wp-content/plugins/sassy-social-share/sassy-social-share.php:36)