bhagwad
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?Hi, sorry for the late response – didn’t see your message. I’ll check out the beta version and get back to you!
- This reply was modified 4 years, 5 months ago by bhagwad.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?I see. Now I understand.
But if AO leaves these files, then they won’t be preloaded right?
I guess I’ll have to settle for aggregation then!
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?Can confirm the issue on another website of mine: https://www.bhagwad.com/blog/
Basically, with the “Aggregate all linked CSS-files” box unchecked, it will skip preloading some CSS files, notably this one:
/wp-includes/css/dist/block-library/style.min.css
Probably a bug, since I see it on two different websites?
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?Could you try unchecking the “Aggregate all linked CSS-files” option? Because that’s what I use. If I check the box, the file is processed.
I just want to preload the file, not aggregate it.
- This reply was modified 4 years, 5 months ago by bhagwad.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?Created a staging copy and disabled every single plugin (except Autoptimize) and also changed the theme.
Still the same! This CSS file is not being optimized: wp-includes/css/dist/block-library/style.min.css
Can you check your own site with the latest copy of Autoptimize and see if this file is being preloaded on your installation?
Edit: The only thing that helps is if I check the “Aggregate all linked CSS-files” option. By default, I don’t want it to aggregate the CSS. Still, it should work even with the checkbox off right?
Could you perhaps check it on your own installation and see if it’s working?
- This reply was modified 4 years, 5 months ago by bhagwad.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?Let me do some testing and get back to you…
Forum: Plugins
In reply to: [Autoptimize] Autoptimize Skips Some CSS Files?I’ve not excluded anything. It’s all meant to be optimized…
Hi! I’ve made the changes as requested. Sorry for taking so long to get to it!
Forum: Fixing WordPress
In reply to: Official .htaccess Rules Not Working to Block wp-includesThanks for the response! So if I change:
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
to
RewriteRule ^wp-includes/.*\.php$ - [F,L]
It should be ok? Like I said, I’m not an expert in Regex, but I think the changed rule blocks all direct requests to ANY php file in wp-includes…
There’s an official ticket on the WordPress code discussion site regarding this very issue: https://core.trac.www.ads-software.com/ticket/49499 . In that, they recommend using the .htaccess code in https://www.ads-software.com/support/article/hardening-wordpress/#securing-wp-includes, but as I mentioned in the OP, it doesn’t work. Hence the modifications.
Forum: Fixing WordPress
In reply to: Gutenberg Loading ONLY Over VPN!I found the problem everyone!
Version 5.3 of WordPress changed some CSS and JS files, and these were still being cached on Cloudflare. As a result, I was getting the older versions of these files. The VPN was connecting from a different location, so it was getting fresh ones.
Once I purged the entire Cloudflare cache globally, it started working and I could edit pages again!
Forum: Fixing WordPress
In reply to: Gutenberg Loading ONLY Over VPN!@ittoufiq Hey, thank, it worked!
I actually DID disable Cloudflare (development mode), but didn’t clear the cache etc. Upon seeing your response, I disabled it again and this time it worked!
So thanks for that! Any ideas on what makes it work on a VPN and not my regular ISP?
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Not working?Wow, that’s interesting. I glanced over at some stuff, and it seems that PHP versions older than 5.4.0 need to specify the tags explicitly.
Was that the case with you?
Nevertheless, I might push an update making the change…
- This reply was modified 5 years, 5 months ago by bhagwad.
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Not working?Would it be possible to let me have a test login on your site so I can figure out the problem? You can send me the details in an e-mail, I’ll debug it and get back to you!
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] Not working?Hey guys, it’s a very weird error indeed. Just to check, you’ve updated the plugin to the latest version?
Also to verify, can you see if the “evalmath.class.php” file is available in in the plugin directory? Follow these steps:
1. WordPress Dashboard
2. Plugins -> Plugins Editor
3. Select “Calculate Values with Shortcodes” from the drop-down list on the top right
4. See if the file is presentAlso, check if the class is included by seeing if the following code is present:
if ( ! class_exists( ‘EvalMath’ ) ) {
require_once( ‘evalmath.class.php’ );
}in the file “calculate-values-shortcodes” php.
Let me know the results!
Forum: Plugins
In reply to: [Calculate Values with Shortcodes] My Shortcode has a comma in the numberHi! Unfortunately, it’d be too inconsistent to make it work with commas etc. Best I can suggest, is to create a “wrapper” shortcode that strips the commas etc out.
But that would require a little bit of familiarity with PHP and WordPress. But finding someone who does, shouldn’t be too hard!