Bug Reports
20
Posts
2
Users
0
Reactions
2,171
Views
Jun 19, 2021 9:43 am
I am trying to log in with my Twitter and Google accounts. It is successfully logged in but I have to refresh the page manually. However, I have no idea why Facebook no this issue!
19 Replies
Jun 19, 2021 12:52 pm
Do you have any caching plugins installed on your website?
Jun 19, 2021 1:24 pm
yes, the original caching plugin from the theme
Jun 22, 2021 12:54 pm
I am trying to ignore more JS files but I am getting the same result.
add_filter('hpp_can_merge_file', function($ok, $handle, $ext, $handles){ if( in_array($handle,['wpdiscuz-cookie-js','autogrowtextarea-js', 'wpdiscuz-ajax-js', 'wmu-colorbox-js', 'wpdiscuz-mu-js', 'wpdiscuz-lity-js', 'wpdiscuz-user-content-js', 'wpdiscuz-social-js'])) return 0; return $ok; }, 10, 4); add_filter('hpp_allow_delay_asset', function($ok, $url){ if(strpos($url, 'plugins/wpdiscuz/assets/third-party/wpdccjs/wpdcc.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/third-party/autogrow/jquery.autogrowtextarea.min.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/js/wpdiscuz.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/third-party/colorbox/jquery.colorbox.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/js/wpdiscuz-mu-frontend.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/third-party/lity/lity.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/js/wpdiscuz-user-content.js')!==false) return false; if(strpos($url, 'plugins/wpdiscuz/assets/js/wpdiscuz-social.js')!==false) return false; return $ok; }, 10, 2);
Jun 22, 2021 2:37 pm
The function "Minify JS from the theme" is disabled but I am getting the same result!
Jun 22, 2021 4:53 pm
I found the issue that is from Cloudflare APO. Please read the following discussion.
Can you please update the plugin to match the requirement from Cloudflare?
Page 1 / 2
Next