A2 Optimized WP – Turbocharge and secure your WordPress site

Make your site faster and more secure with the click of a few buttons

v3.0.13A2 HostingUpdated Added 60k+ installs62% rating
24
Score
271
Errors
231
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

502 findings

Security

196

7 issue groups

Maintainability

172

16 issue groups

I18n

81

2 issue groups

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().57
Category
I18n
Occurrences
57
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$slug is "'.45
Category
Security
Occurrences
45
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$slug is "'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']44
Category
Security
Occurrences
44
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['_wpnonce']

WARNINGSecurityRequest data is not unslashed$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar44
Category
Security
Occurrences
44
Severity
warning

Sample message

$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['a2_performance_strategy']. Check that the array index exists before using it.29
Category
Security
Occurrences
29
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['a2_performance_strategy']. Check that the array index exists before using it.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $site_type . ' Bcrypt passwords disabled.'24
Category
I18n
Occurrences
24
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $site_type . ' Bcrypt passwords disabled.'

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "A2_Optimized\App".20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "A2_Optimized\App".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_requirements_checker".16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_requirements_checker".

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $opt_query15
Category
Security
Occurrences
15
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $opt_query

Show 15 more
WARNINGMaintainabilityNon-prefixed hook name15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "a2_optimized_after_template_render".

ERRORMaintainabilityparse url parse url15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGMaintainabilityABSPATHDetected12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

ERRORMaintainabilityunlink unlink12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityNon-prefixed class11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "A2_Optimized".

WARNINGSecurityNonce verification recommended11
Category
Security
Occurrences
11
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

Unescaped parameter $opt_query used in $wpdb->query()\n$opt_query assigned unsafely at line 210.

ERRORMaintainabilityNot Allowed7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGMaintainabilityDirect Query7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORMaintainabilityfile system operations fopen7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERRORMaintainabilitydate date6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilityfile system operations fclose6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

WARNINGMaintainabilityNo Caching5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORMaintainabilityfile system operations fwrite5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORMaintainabilityfile system operations is writable4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.0.13

24

Latest

Findings
502
Errors
271
Warnings
231
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

SQLite Object Cache

10k+ active installs

99
Cachebuster

1k+ active installs

98
Aruba HiSpeed Cache

100k+ active installs

97