LeadStar
Forum Replies Created
-
Hi!
I am getting the same error.
Is it resolved? What’s the solution?
Looking forward to hearing it!Thanks!
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariOh, when it can be?
This is really prioritized ticket on our project.
Can’t you just release this change for minor updates?Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariGreat! It works…
Can you publish the changes?
Third-party plugins are not in our project repo so I am not able to update your plugin code directly!Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on Safariwp_enqueue_script( 'gutenberg-block/sign-up-wizard-block-front', plugins_url( 'dist/SignUpWizardFront.js', __FILE__ ), array( 'wp-element' ), filemtime( plugin_dir_path( __FILE__ ) . "/dist/SignUpWizardFront.js" ) );
Please put this code in your current theme’s function.php.
Don’t mind even there’s no signupwizardfront.js file.
Just calling wp_enqueue_script(), it will load default js files.Let me know if this works for you.
Thanks!
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on Safari@optimizingmatters
I am also trying to reproduce it with Gutenberg but no luck.
Instead, I found this.
wp-polyfill scrips can be loaded by default of WordPress.
You can find ‘wp_get_script_polyfill’ function in wp-includes/script-loader.php at line 179.
If you go down, you can see it echos ‘document.write(…)’!
I think if you can manually call this action in function.php, you would be able to see the issue.
Let me know your thoughts.Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariForum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariI think you should look for document.write(‘ … wp-polyfill-fetch.min.js’).
I didn’t mean js/dist.
If I put wp-polyfill related js files to the exclusion, then there’s no issue in Chrome.
But getting an error on Safari.
So I had to add ‘js/dist’ to make it work for Safari.Can you please have a check and let me know?
Thank you!
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariHow’s it going? Can you reproduce the issue?
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on Safaridefault Gutenberg loads above js file.
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariNot sure what you mean exactly but I think so!
If it loads wp-polyfill-fetch js file.Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariIt’s using customized Gutenberg blocks.
https://share.getcloudapp.com/YEuomg2p
The issue is coming out from wp-polyfill-fetch.min.jsForum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariI already tried but no luck..
Forum: Plugins
In reply to: [Async JavaScript] Exclude is not working properly on SafariNo, it’s not working!
Exclude only accepts javascript file and URL.Sorry, I found it.
There’s no issue in this plugin.
I was logged in admin user and I was able to check any course without any restriction.
Thanks.