Fix Alt Text

Manage alt text site-wide easily with Fix Alt Text. You can also force users to use alt text when adding images in Gutenberg and Classic editors.

v1.9.1Steven AyersUpdated Added 1k+ installs90% rating0% support resolved
24
Score
544
Errors
346
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

890 findings

I18n

372

5 issue groups

Maintainability

294

10 issue groups

Security

187

10 issue groups

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $slug301
Category
I18n
Occurrences
301
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $slug

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$References_Table".162
Category
Maintainability
Occurrences
162
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$References_Table".

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.41
Category
I18n
Occurrences
41
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.37
Category
Security
Occurrences
37
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityUnquoted Complex PlaceholderComplex placeholders used for values in the query string in $wpdb->prepare() will NOT be quoted automagically. Found: %1$s.33
Category
Security
Occurrences
33
Severity
warning

Sample message

Complex placeholders used for values in the query string in $wpdb->prepare() will NOT be quoted automagically. Found: %1$s.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<$tag $scope $id $class $aria_sort_attr $abbr_attr>$column_display_name</$tag>"'.29
Category
Security
Occurrences
29
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<$tag $scope $id $class $aria_sort_attr $abbr_attr>$column_display_name</$tag>"'.

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.19
Category
Security
Occurrences
19
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

Show 15 more
WARNINGMaintainabilityNo Caching17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecurityRequest data is not unslashed14
Category
Security
Occurrences
14
Severity
warning

Sample message

$_GET[&#039;orderby&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nMissing Arg Domain14
Category
I18n
Occurrences
14
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text11
Category
I18n
Occurrences
11
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Debug mode is on and writing to logs for all sites using plugin %s. Please turn off Debug Mode by removing the constant %s from your code. This is likely found in your wp-config.php file in the web root.'.

WARNINGMaintainabilityDynamic hook name10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$this-&gt;identifier . &#039;_cron_interval&#039;&quot;.

ERRORSecurityUnescaped Literal9
Category
Security
Occurrences
9
Severity
error

Sample message

Found unescaped literal "%" character.

ERRORSecurityDatabase parameter is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error log8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGMaintainabilityNon-prefixed constant6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DONOTCACHEDB&quot;.

ERRORMaintainabilityparse url parse url6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityReplacements Wrong Number5
Category
Security
Occurrences
5
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb-&gt;prepare(). Found 1 replacement parameters, expected 2.

WARNINGSecurityInput is not sanitized5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;orderby&#039;]

ERRORMaintainabilityfile system operations fopen5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'ERROR: Aborting scan. Scan portion not valid: ' . $this->scan_portion

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.9.1

24

Latest

Findings
890
Errors
544
Warnings
346
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins