nabtron
Forum Replies Created
-
solved it, plz add this fix in your next update.
version: 0.9.7.5
this is used when the minify “rewrite url structure” is turned off.
file: Minify_Core.php
line: 118
checks for: network_site_url(), should check for home_url()Hi. I thought you would see it yourself so didn’t mention myself.
I had an impression that pushing users towards “paid” support on this support forum is discouraged.
So as per the last reply of the plugin author, instead of pointing out how i can debug it myself (not asking him to do it on my behalf), he refused that and asked me to pay them for further help.
I hope it helps.
Thanks.
yes, i did uncheck it too but nothing changed.
I have moved the above link to a diff server for now, without w3 total cache on it.
To test, here is another test subdomain showing same error: http://bit.ly/2K6FTyv
Please advice.
How can i debug? any direction to begin please?
Using nginx, ubuntu 16.04, virtualmin
Thanks
Thanks for responding.
The domain with error is: http://bit.ly/2LPmdBp
However if you see the source, the w3tc is linking to minified files with main domain name (not this subdomain) and thus it’s empty
If we open the same linked file and change the domain name to subdomain manually, then it does work fine.
Please let me know if there is any way to fix it.
Thanks
- This reply was modified 6 years, 10 months ago by nabtron.
Forum: Reviews
In reply to: [WP BMI] Limited units.As it’s a free plugin, it can’t support everything, as the plugin developer codes the plugin which he needs and gives it to the community for their benefit if they need. Plus it clearly shows the units it supports in the description and image of the plugin.
If you have a request to add units, please let me know and I will code it for your project.
Forum: Plugins
In reply to: [Autoptimize] How to remove type attributes?You can modify the @felix-berlin-design code to this to make it work for all hooks:
(made $handle=”)
//* Remove type tag from script and style add_filter('style_loader_tag', 'codeless_remove_type_attr', 10, 2); add_filter('script_loader_tag', 'codeless_remove_type_attr', 10, 2); add_filter('autoptimize_html_after_minify', 'codeless_remove_type_attr', 10, 2); function codeless_remove_type_attr($tag, $handle='') { return preg_replace("/type=['\"]text\/(javascript|css)['\"]/", '', $tag); }Forum: Plugins
In reply to: [AMP] Disallowed attribute in HTML tag ‘amphtml engine v0.js script’Autoptimize was the culprit. Had the same error on my site.
Go to settings of autoptimize and add v0.js to the excluded js list. Clear all caches etc.
And @optimizingmatters, a better approach is to ask the user about their installation details and exact issue, instead of going into denial mode imho.
- This reply was modified 7 years, 5 months ago by nabtron.
Forum: Fixing WordPress
In reply to: Confusing code in WordPress file.phpI was asking about explanation of how the bitwise operators are functioning here (signified by the part of my original question “esp the part after &”).
- This reply was modified 7 years, 6 months ago by nabtron.
Forum: Developing with WordPress
In reply to: Admin_init not working in submenu pagePlease check this code to understand the issue i’m having please and suggest the best solution: https://github.com/nabtron/wp-admin-init-test-plugin
Sorry no, I’m asking about backend (in editor view)
Forum: Plugins
In reply to: [WP Wrapper] ErrorThanks for pointing out, I will update it asap.
Forum: Plugins
In reply to: [WP Cloudflare] does not work with following scriptsPlease explain how you tried to use it and what issue did you face?
Forum: Hacks
In reply to: get_user_by returns object with pass too, security issue?dartiss, “i used the function and print_r its output”, that made me “think” that it returned the password too 🙂 Please try doing that and you may see the stored password in db.
bcworks, i didn’t say the user entered password, its the pass from db.
and is it really impossible to find it for the attacker through the hashed one? that’s what I wanted to confirm.
And more importantly, why would it even return it? do we need it anywhere?
Forum: Hacks
In reply to: Comments or child posts for question answers?I will be allowing logged in users to reply only.
I have decided to go with posts for now, and then also make comments based, to see which one works best with minimum load.
I’ve an issue however.
When a reply (child post) is made, i hook it to ‘init’
However, i also want to change the post taxonomy from pending to replied, but the init function doesn’t provide the current page’s post_id, I’m trying to avoid url to post id.
Which hook is the earliest one that provides current page’s post-id that i should use?
Forum: Hacks
In reply to: Comments or child posts for question answers?I am coding my own plugin actually for my own site. And don’t wanna use the current plugins as they’re “overloaded” to support various websites and their requirements. I want a simple one with minimum code and load to suit my needs only.
So my query is again, should we use comments or child post? and why?