404 Image Redirection (Replace Broken Images)

Replace broken images with a default image, hide them entirely, or set custom per-image redirection rules. Lightweight, fast, and SEO-friendly.

v2.0.0wp-buyUpdated Added 600 installs70% rating
47
Score
118
Errors
85
Warnings
+0
Change

Category Scores

Security28
Repo94
Performance100
Maintainability35

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

203 findings

Maintainability

100

16 issue groups

I18n

80

2 issue groups

Security

20

6 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'broken-images-redirection' but got 'broken-image-domain'.79
Category
I18n
Occurrences
79
Severity
error

Sample message

Mismatched text domain. Expected 'broken-images-redirection' but got 'broken-image-domain'.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BIR_HTACCESS_MARKER".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BIR_HTACCESS_MARKER".

ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

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

Sample message

Use of a direct database call is discouraged.

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

Sample message

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

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().6
Category
Maintainability
Occurrences
6
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 fcloseFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $site_table used in $wpdb->query()\n$site_table assigned unsafely at line 150.5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$site_table} at "DROP TABLE IF EXISTS {$site_table}"5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$site_table} at "DROP TABLE IF EXISTS {$site_table}"

Show 15 more
WARNINGMaintainabilityNon-prefixed class5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations is writable5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityfile system operations chmod3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fwrite3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityrename rename3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

ERRORSecurityOutput is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_get_original_image_url()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.0.0.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

ERRORMaintainabilityfile system operations readfile1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations touch1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

Tested up to: 6.9 < 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.

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

10

External assets

2

Incoming endpoints

1

Notable Domains

wp-buy.com1 · outbound

Platform / Reference Domains

w3.org3 · platform/reference
gnu.org1 · platform/reference
profiles.wordpress.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

datatables.net5 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_bir_dismiss_seo_promoauthenticated

wp_ajax

Score History

First score snapshot

v2.0.0

47

Latest

Findings
203
Errors
118
Warnings
85
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Remove Broken Images

900 active installs

100
Schema Default Image

800 active installs

96
All 404 Redirect to Homepage

200k+ active installs

25
Broken Link Checker

500k+ active installs

25