Brozzme DB Prefix & Tools Addons

Easily change your WordPress DB prefix, save time, increase security.

v1.3.5BenotiUpdated Added 10k+ installs94% rating
35
Score
24
Errors
42
Warnings
+0
Change

Category Scores

Security0
Repo72
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

66 findings

Security

32

10 issue groups

Maintainability

24

10 issue groups

I18n

4

4 issue groups

Supply Chain

2

1 issue group

WARNINGSecurityRequest data is not unslashed$_GET['q'] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.5
Category
Maintainability
Occurrences
5
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().5
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().

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$newPrefix} at "UPDATE {$newPrefix}options SET option_name='{$newPrefix}user_roles' WHERE option_name='{$oldPrefix}user_roles';"5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$newPrefix} at "UPDATE {$newPrefix}options SET option_name='{$newPrefix}user_roles' WHERE option_name='{$oldPrefix}user_roles';"

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityfile system operations is writableFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $newPrefix used in $wpdb->query()\n$newPrefix used without escaping.2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $newPrefix used in $wpdb->query()\n$newPrefix used without escaping.

Show 15 more
WARNINGSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $GLOBALS['table_prefix'] used in $wpdb->get_results()\n$GLOBALS['table_prefix'] used without escaping.

ERRORSecuritySQL query is not prepared2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilityNo Explicit Version2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_register_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORSupply ChainHidden files included2
Category
Supply Chain
Occurrences
2
Severity
error

Sample message

Hidden files are not permitted.

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.

WARNINGMaintainabilityNon-prefixed function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityrand mt rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

mt_rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilityrand seeding mt srand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

mt_srand() is discouraged. Rand seeding is not necessary when using the wp_rand() function (as you should).

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORI18nNo Empty Strings1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.3.5

35

Latest

Findings
66
Errors
24
Warnings
42
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins