Alt Magic: AI Image Alt Text Generator for WP & Image Rename

AI alt text generator for WordPress with free monthly credits, fast bulk generation for existing and new images, and optional AI image renaming.

v1.7.7Alt Magic ProUpdated Added 1k+ installs100% rating
40
Score
55
Errors
118
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

173 findings

Maintainability

85

6 issue groups

Security

61

8 issue groups

I18n

27

2 issue groups

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

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().27
Category
Maintainability
Occurrences
27
Severity
warning

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'alt-magic-ai-powered-alt-texts' but got 'alt-magic'.24
Category
I18n
Occurrences
24
Severity
error

Sample message

Mismatched text domain. Expected 'alt-magic-ai-powered-alt-texts' but got 'alt-magic'.

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.14
Category
Security
Occurrences
14
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $count_query used in $wpdb->get_var()\n$count_query assigned unsafely at line 417.6
Category
Security
Occurrences
6
Severity
error

Sample message

Unescaped parameter $count_query used in $wpdb->get_var()\n$count_query assigned unsafely at line 417.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wpml_content_translations".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

Show 6 more
WARNINGSecurityReplacements Wrong Number3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

WARNINGMaintainabilityABSPATHDetected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilitytrademarked term2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Alt Magic: AI Image Alt Text Generator for WP & Image Rename" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityUnfinished Prepare1
Category
Security
Occurrences
1
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

Score History

First score snapshot

v1.7.7

40

Latest

Findings
173
Errors
55
Warnings
118
Check
2.0.0

Related Plugins

100
100
Better Aria Label Support

5k+ active installs

99
Accessibility by AudioEye

1k+ active installs

95
Dark Mode for WP Dashboard

2k+ active installs

94