p1c2d3
Forum Replies Created
-
Forum: Plugins
In reply to: [F12 Profiler] False positive?I have sent an email and received a notification that the issue has been fixed.
@forge12marc consider removing your email address from the post above for spam protection.
I will use absolute path then, even it is inconvenient and will cause breakage when i change username or a webpage path.
@qtwrk If that ~ path is not valid, then disallow invalid path instead of allowing app to crash on you in a way that is hard to recover for a layman. Thank you in advance for saving time and trouble of users.
In Firefox browser 151.0.2 (64-bit) Ubuntu 24 package with Enhanced tracking protection enabled, download file https://drive.proton.me/urls/PS6ZJSASFR#dDkwEJc92NGJ and replace in it “sub.domain.name” by your domain.
Import file at /wp-admin/admin.php?page=litespeed-presets (of a plugin v7.8.1) in WP 7.0 on PHP 8.4.
Go to /wp-admin/admin.php?page=litespeed-cache#object
Host ~/.redis/redis.sock
Switch Memcached to Redis
Port 0
Object Cache: ON
(note that i have Redis enabled like that)
Save button.
Then i have been redirected to a error page with content: https://justpaste.it/ghbma
Going one step back in browser history
Clicking Cache or TTL tab does nothing, browser dev. console (F12), Console tab shows no events. Reloading page. also no new warnings or errors in console and on the bottom page i see that above linked error and tabs switching does not work.
Going to Presets, Import, and resetting to default, i can now again use tabs and also when i try to do same Object cache setting, except i use full *.sock path not one with tilde. It works without problem (no error, tabs switches)
If you can not reproduce, let me know what else i need to do exactly. Note that i do not want to publish any detailed data about my browser etc not to leak any private data here in public.
- This reply was modified 1 day, 15 hours ago by p1c2d3.
Forum: Reviews
In reply to: [Mega Cache] Offers just a file cache in a free versionPRO=paid, can not be used in a free version. You have failed to describe this in a first sentences of a plugin description.
Forum: Plugins
In reply to: [F12 Profiler] False positive?For privacy reason no, but in private yes. I am unsure if i have seen private contact on you. Trying to send a message using bottom-right button on https://www.forge12.com/shop/ results in “Failed to send message” without explanation. The site is not in english and i do not see other contact on it. The issue can be reproduced by installing free WP plugin HivePress and its only one free theme.
Forum: Plugins
In reply to: [Members - Membership & User Role Editor Plugin] Custom capability – docs?No, I wanted to know how i can do it with custom capability. So if what i have mentioned can not be done with this custom capability, then please provide different examples how i can use it, maybe for similar objectives i have mentioned.
Forum: Plugins
In reply to: [Members - Membership & User Role Editor Plugin] Custom capability – docs?Most of the things mentioned was not what I have asked, but this part was on topic:
A custom capability you add this way won’t do anything by itself — it just gets stored on the role. For it to have an effect, something needs to check for it, either via
current_user_can( 'my_custom_cap' )in theme/plugin code, or through Members’ own Content Permissions or shortcode features (e.g.,[members_access capability="my_custom_cap"]).Though this is too general for a layman to understand. Can you link/provide some examples? For example if i want to expose some page or post content only to a certain role with the custom capability, or when i want to expose WP-Admin custom plugin entry in the menu only to a role with this custom capability? Yes, i am asking stupidly, because i am not a developer.
I have some insights regarding this issue:
Inside a function you are linking to, is manage_options and delete_users. Out of these two i have only “Delete users” capability enabled for the custom roles (which have got Translate permission automatically assigned without way to disable (as described in 1st post above)).
So I go to a Members plugin https://ww.wp.xz.cn/plugins/members/ , which shows default WordPress permissions/capabilities and allows changing it. Removing that “Delete users” capability out of a custom user role, removes the tickmark in /wp-admin/admin.php?page=loco-config “Grant access to roles” section.
Why the access permission to Loco translate would be tied to “Delete user” permission?
Trying to actually test if i am allowed to go to /wp-admin/admin.php?page=loco-config as that custom role user (with “Delete users” capability), i can see: “Sorry, you are not allowed to access this page.”
So that seems like the tickmark in /wp-admin/admin.php?page=loco-config is assigned wrongly in case “Delete user” capability, because such user does not necessarily gain access to Loco Translate just based on this capability.
Can this be improved please?
I do not know if it helps anyhow, but for my custom user roles (which should not be allowed to translate the site), i have set capability loco_admin to “Deny All”.
AI had to help me to find it. It is under Appearance > Editor > Styles > Three dots (kebab) menu > Additional CSS > paste the above mentioned CSS code line > Review 1 change (button) > Save
Reload directory page (F5) and it WORKS, long string spans now multiple lines and does not overflow.
Highlighting that multi-line string and copying, pasting, results in single string (not space or newline broken), which is good.
Please consider fixing this in a directory code by default so others does not need to research what to change and where. Thank you
I have shared it via email for privacy reason..
Forum: Reviews
In reply to: [WP Bulk Delete] Important rules are only in Paid versionI do not have the delete button, only complains about need to buy pro version.
found the cause. its described in the FAQ http://ww.wp.xz.cn/plugins/p3-profiler/faq/
one should go to wordpress Settings / Media / and there set correct path to upload directory. on cpanel server usually:
/home/yourusername/public_html/wp-content/uploads
Forum: Themes and Templates
In reply to: [Newsmin] [Theme: Newsmin] Gives an errorsame error
Forum: Plugins
In reply to: [Publish 2 Pingfm] stopped working againI just lost 2 days because of my stupidity.
This plugin Caused that WP Robot 3 and KStats plugin settings stopped working (You do not have permission to access this page when accessed WPRobots settings and KStats settings plugin.
THIS plugin is not compatible. Beware
Forum: Fixing WordPress
In reply to: WordPress database error after WP 3.0 upgradeSolved. tried to disable one plugin by one. Plugin problem.