-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.0 #127
v4.0.0 #127
Conversation
javiercasares
commented
Sep 22, 2024
- Code refactoring, mainly for the latest software added because everything is so similar we can have one big function and not one for each software. This means a lot less code, KB, and less loading time.
- Improved code quality, checking all the functions, checking all the documentation and fixing plenty of little things.
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
// Second method: use system commands if the first fails and shell_exec is available. | ||
if ( empty( $version ) && wpvulnerability_can_shell_exec() ) { | ||
// Command to check Memcached version. | ||
$version_output = shell_exec( escapeshellcmd( 'memcached -h' ) ); // phpcs:ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning
Amplify has been notified that this line contains a vulnerability 🕷️.
Vulnerability: CWE-94 Improper Control of Generation of Code ('Code Injection')
Impact: HIGH
Code Fix: ✅
Amplify Security has prepared an automated remediation for review. Click here to review and commit the code fix.