WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce

Send SMS/MMS notifications, OTP & 2FA messages, and WooCommerce updates with support for multiple gateways and plugin integrations.

v7.2.5VeronaLabsUpdated Added 7k+ installs82% rating0% support resolved
24
Score
91
Errors
1,725
Warnings
+0
Change

Category Scores

Security0
Repo90
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,816 findings

Maintainability

1,496

15 issue groups

Security

302

10 issue groups

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wp_sms_settings_render_' . $this->active_tab".731
Category
Maintainability
Occurrences
731
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wp_sms_settings_render_' . $this->active_tab".

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_SMS".345
Category
Maintainability
Occurrences
345
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_SMS".

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

Sample message

Use of a direct database call is discouraged.

ERRORMaintainabilitywp function not compatible with requires wpFunction "current_datetime()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.1.0.82
Category
Maintainability
Occurrences
82
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $placeholders at WHERE REPLACE(REPLACE(REPLACE(mobile, '-', ''), ' ', ''), '+', '') IN ($placeholders)"62
Category
Security
Occurrences
62
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at WHERE REPLACE(REPLACE(REPLACE(mobile, '-', ''), ' ', ''), '+', '') IN ($placeholders)"

WARNINGSecurityRequest data is not unslashed$_GET['from'] not unslashed before sanitization. Use wp_unslash() or similar41
Category
Security
Occurrences
41
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityDiscouraged PHP function36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGSecurityInput is not sanitized28
Category
Security
Occurrences
28
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['file']['tmp_name']

WARNINGSecurityDatabase parameter is not escaped23
Category
Security
Occurrences
23
Severity
warning

Sample message

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

WARNINGMaintainabilityDynamic hook name19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->cron_interval_identifier".

WARNINGSecurityInput is not validated19
Category
Security
Occurrences
19
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed constant9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGSecurityUnfinished Prepare5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log error log5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log var export5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect5
Category
Security
Occurrences
5
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORSecurityDatabase parameter is not escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

Unescaped parameter $clause['placeholders'] used in $wpdb->get_var()\n$clause['placeholders'] used without escaping.

WARNINGMaintainabilityslow db query meta key3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

External Connections

Not analyzed yet.

Score History

First score snapshot

v7.2.5

24

Latest

Findings
1,816
Errors
91
Warnings
1,725
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins