Viktor Szépe
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Function wp_some_native_function not found.The extension for WordPress will help you run PHPStan.
Forum: Plugins
In reply to: [SALESmanago & Leadoo] php8 incompatibilities and warningsHello Alexander!
You are very brave.Forum: Plugins
In reply to: [Loco Translate] Loco + wp-redis causes Fatal errorThank you for your answer.
It happens in
Loco_data_Serializable::__destruct()
Maybe after WordPress code object cache shuts down and the global $wp_object_cache is null.[ { "file": "/home/beszerzokforuma/website/code/olm/wp-includes/option.php", "line": 777, "function": "wp_cache_set", "args": [ "loco_po_cd2a6ddaab019b0797394d69f631f9e1", { "c": "Loco_gettext_Metadata", "v": 0, "d": { "rpath": "themes/Divi/core/languages/zh_CN.mo", "bytes": 9360, "mtime": 1552909463, "valid": true, "stats": { "t": 67, "p": 67, "f": 0 } }, "t": 1570693858 }, "transient", 864000 ] }, { "file": "/home/beszerzokforuma/website/code/wp-content/plugins/loco-translate/src/data/Transient.php", "line": 28, "function": "set_transient", "args": [ "loco_po_cd2a6ddaab019b0797394d69f631f9e1", { "c": "Loco_gettext_Metadata", "v": 0, "d": { "rpath": "themes/Divi/core/languages/zh_CN.mo", "bytes": 9360, "mtime": 1552909463, "valid": true, "stats": { "t": 67, "p": 67, "f": 0 } }, "t": 1570693858 }, 864000 ] }, { "file": "/home/beszerzokforuma/website/code/wp-content/plugins/loco-translate/src/data/Serializable.php", "line": 102, "function": "persist", "class": "Loco_data_Transient", "object": {}, "type": "->", "args": [] }, { "file": "/home/beszerzokforuma/website/code/wp-content/plugins/loco-translate/src/data/Serializable.php", "line": 52, "function": "persistIfDirty", "class": "Loco_data_Serializable", "object": {}, "type": "->", "args": [] }, { "function": "__destruct", "class": "Loco_data_Serializable", "object": {}, "type": "->", "args": [] } ]- This reply was modified 6 years, 6 months ago by Viktor Szépe.
Forum: Reviews
In reply to: [Pareto Security] Best Security PluginVery brave statements are in the plugin description
> By the very nature of plugins, no plugin should ever claim to be a Web Application Firewall.
I run my WAF before WordPress
although it needs some work to set up.- This reply was modified 6 years, 11 months ago by Andrew Nevins. Reason: Removed self promotion
Forum: Reviews
In reply to: [Flamingo] No way to clear all with one clickHello @vskylabv !
You may use WP-CLI to delete several posts.
Use one command to list post ID-s, and another one to delete them.
https://developer.ww.wp.xz.cn/cli/commands/post/delete/All the best!
Forum: Fixing WordPress
In reply to: PHP Warning in error.logA request like
GET /?name[%23post_render][0]=printf&name[%23markup]=ABCZ%0A HTTP/1.1could cause core to fail.
- This reply was modified 7 years, 7 months ago by Viktor Szépe. Reason: code
Forum: Fixing WordPress
In reply to: CI CD process recommendations for WordPressHello @drxelak !
1. You can list plugin names and versions with WP-CLI, its output can be customized. This output can be parsed on the production server and installed by also WP-CLI.
2.a. Do you mean the classic migration thus altering DB structure? Try integrating https://phinx.org/
2.b. If you mean copying the DB from one environment to another then WP-CLI is the choice.3. You need to run
wp core update-dbbut I suggest you to get WP core as a composer package4. It is very tricky. Reverting core&plugins: composer or WP-CLI, anything other: git, db: I have to figure out
Forum: Plugins
In reply to: [Password bcrypt] UpdatesHello @kalich5!
The password hashing is a very simple but effective feature.
It has no parts which need updating.See the changes (commits) in the original plugin:
https://github.com/roots/wp-password-bcrypt/commits/masterThat message is an automated one which is useful for many plugins but not for this one.
Forum: Reviews
In reply to: [Multipart robots.txt editor] Was unable to remove but now fixedHello @calebweb
Here is an update for you.
Shiny Updates (core feature) prevented old-style uninstallation.
This was reported earlier: https://ww.wp.xz.cn/support/topic/cannot-delete-plug-in-2/
All the best!
Forum: Plugins
In reply to: [Advanced Editor Tools] Add option to make visualblocks enabled by defaultThank you.
Very nice solution
visualblocks_default_state: trueForum: Plugins
In reply to: [Password bcrypt] Preventing user registrationBTW I see you’re into security.
Please try this WAF https://github.com/szepeviktor/wordpress-fail2ban as I was contributing to many very popular security plugins and realized they do not block real attack vectors.
Send me an email if you need help.
- This reply was modified 8 years, 5 months ago by Viktor Szépe.
Forum: Plugins
In reply to: [Password bcrypt] Preventing user registrationHello @webmandesign !
Is your PHP version up-to-date?
See the Description https://ww.wp.xz.cn/plugins/password-bcrypt/
Forum: Plugins
In reply to: [WP Nav Menu Cache] Tiny cacheIt was moved to a separate repo.
Here it is https://github.com/szepeviktor/tiny-cache/blob/master/tiny-nav-menu-cache.phpForum: Plugins
In reply to: [W3 Total Cache] Solution for 50+ problemsAnyone willing to help?
Forum: Plugins
In reply to: [W3 Total Cache] How revert to previous version?Or you could give us a try
https://github.com/szepeviktor/w3-total-cache-fixed