Insert Html Snippet

Add HTML, CSS and javascript code to your pages and posts easily using shortcodes.

v1.4.6f1logicUpdated Added 20k+ installs98% rating
39
Score
159
Errors
205
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

364 findings

Security

272

11 issue groups

Maintainability

89

7 issue groups

I18n

2

1 issue group

Repo Compliance

1

1 issue group

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['xyz_ihs_msg'] not unslashed before sanitization. Use wp_unslash() or similar33
Category
Security
Occurrences
33
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['xyz_ihs_msg']25
Category
Security
Occurrences
25
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['xyz_ihs_msg']

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Attempting a database schema change is discouraged.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $field at " ORDER BY $field $order LIMIT $offset,$limit"5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $field at " ORDER BY $field $order LIMIT $offset,$limit"

Show 10 more
ERRORSecuritySQL query is not prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORSecurityUnsafe printing function2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitystrip tags strip tags2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Insert Html Snippet" is different from the name declared in plugin header "Insert HTML Snippet".

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.

Score History

2 score snapshots

+0
1007550250Jun 20, 2026, 11:04 AM UTC Score 39/100 Plugin v1.4.5 Plugin Check 2.0.0 159 errors, 205 warningsJun 22, 2026, 11:33 AM UTC Score 39/100 Plugin v1.4.6 Plugin Check 2.0.0 159 errors, 205 warningsJun 20, 2026Jun 22, 2026

v1.4.6

39

Latest

Findings
364
Errors
159
Warnings
205
Check
2.0.0

v1.4.5

39

Score

Findings
364
Errors
159
Warnings
205
Check
2.0.0

Related Plugins

Insert PHP Code Snippet

90k+ active installs

38
WP2Social Auto Publish

9k+ active installs

35
Social Media Auto Publish

6k+ active installs

24
WP Twitter Auto Publish

4k+ active installs

33