Auto Image Alt Attribute

Adds automatically alt attributes in image tag where alt attributes are missing or alt is empty.

v1.2jaggskristUpdated Added 6k+ installs96% rating
55
Score
26
Errors
7
Warnings
+0
Change

Category Scores

Security25
Repo86
Performance100
Maintainability92

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

33 findings

Security

21

5 issue groups

Maintainability

5

4 issue groups

I18n

4

2 issue groups

Repo Compliance

3

3 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'auto-image-alt' but got 'equation-editor'.3
Category
I18n
Occurrences
3
Severity
error

Sample message

Mismatched text domain. Expected 'auto-image-alt' but got 'equation-editor'.

ERRORMaintainabilityfive star reviews detectedLinking directly to 5 stars reviews is not allowed.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "jk_auto_image_alt".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['auto_image_alt_nonce']1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['auto_image_alt_nonce']

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['auto_image_alt_nonce'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST['auto_image_alt_nonce'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nNo Empty StringsThe $text text string should have translatable content. Found: ''1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

Show 4 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Auto Image Alt Attribute" is different from the name declared in plugin header "Auto Image Alt".

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 5.2 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.2

55

Latest

Findings
33
Errors
26
Warnings
7
Check
2.0.0

Relationship Map

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

28 nodes

Related Plugins