Ansar Import – One Click Starter Sites – for Elementor & Themes

Easily import theme demos in one click. Simplifies starter sites setup.

v2.1.2themeansarUpdated 2026-06-12Added Jul 7, 202020k+ installs100% rating
48
Score
27
Errors
116
Warnings
+0
Change

Category Scores

Security24
Repo100
Performance97
Maintainability51

Top Issues by Category

maintainability121
security19
performance2
i18n1

Issues Details

143 issues found in latest scan

WARNING72
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

WARNING17
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

ERROR7
WordPress.Security.EscapeOutput.OutputNotEscaped

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

ERROR7
WordPress.WP.AlternativeFunctions.unlink_unlink

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

ERROR6
missing_direct_file_access_protection

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

WARNING5
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

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

WARNING3
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

WARNING3
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING3
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

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

WARNING2
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING2
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING2
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_POST['paged'] not unslashed before sanitization. Use wp_unslash() or similar

WARNING2
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

ERROR1
Generic.PHP.ForbiddenFunctions.Found

The use of function wp_get_sidebars_widgets() is forbidden

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

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.

WARNING1
Squiz.PHP.DiscouragedFunctions.Discouraged

The use of function set_time_limit() is discouraged

WARNING1
WordPress.PHP.DevelopmentFunctions.error_log_error_log

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

WARNING1
WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

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

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_chmod

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

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

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

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_fopen

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

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_mkdir

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

ERROR1
WordPress.WP.AlternativeFunctions.parse_url_parse_url

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERROR1
WordPress.WP.AlternativeFunctions.rand_rand

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

WARNING1
mismatched_plugin_name

Plugin name "Ansar Import – One Click Starter Sites – for Elementor & Themes" is different from the name declared in plugin header "Ansar Import".

Latest Snapshot

Findings

143

Errors

27

Warnings

116

Score History

First score snapshot

First scan completed Jun 20, 2026

v2.1.2 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v2.1.2

48

Latest

Findings
143
Errors
27
Warnings
116
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins