AR for WordPress

Augmented Reality for WordPress lets you showcase 3D models in an interactive viewer and AR on iOS and Android, with no app downloads needed.

v8.40webandprintUpdated Added 400 installs92% rating0% support resolved
23
Score
149
Errors
508
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

657 findings

Maintainability

459

14 issue groups

Security

105

8 issue groups

I18n

67

3 issue groups

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

Sample message

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

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

Sample message

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

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $config['text_domain']58
Category
I18n
Occurrences
58
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $config['text_domain']

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.42
Category
Maintainability
Occurrences
42
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['_fields'] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'ar_analytics_google_analytics_settings_' . $plugin_id".11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'ar_analytics_google_analytics_settings_' . $plugin_id".

ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

Show 15 more
WARNINGSecurityMissing nonce verification9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized8
Category
Security
Occurrences
8
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityInput is not validated6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment6
Category
I18n
Occurrences
6
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORSecuritySQL query is not prepared5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
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.

ERRORMaintainabilitycurl curl setopt4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilityNo Caching3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed constant3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "AR for WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

External Connections

Potential connections found in static code analysis.

29 domains

Outbound calls

179

External assets

3

Incoming endpoints

21

Notable Domains

ardisplay.ai20 · outbound
armodelshop.com8 · outbound
thonky.com8 · outbound
npmjs.com6 · outbound
polymer.github.io4 · outbound
quickchart.io3 · outbound

Platform / Reference Domains

developer.wordpress.org25 · platform/reference
github.com10 · platform/reference
w3.org4 · platform/reference
api.wordpress.org1 · platform/reference
gnu.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

augmentedrealityplugins.com68 · asset + outbound
cdnjs.cloudflare.com2 · asset + outbound

Incoming Endpoints

/wp-json/ar-display/delete/REST

register_rest_route

/wp-json/ar-display/featuredimage/REST

register_rest_route

/wp-json/ar-display/models/REST

register_rest_route

/wp-json/ar-display/update/REST

register_rest_route

/wp-json/ar/v1/ardisplay_ai/creditsREST

register_rest_route

/wp-json/ar/v1/ardisplay_ai/credits/syncREST

register_rest_route

Admin AJAX endpoints7
admin_post_import_filesauthenticated

admin_post

wp_ajax_ar_dismiss_update_noticeauthenticated

wp_ajax

wp_ajax_ar_get_fresh_nonceauthenticated

wp_ajax

wp_ajax_ar_onboarding_toggle_tourauthenticated

wp_ajax

wp_ajax_ar_process_user_imageauthenticated

wp_ajax

wp_ajax_ar_upload_fileauthenticated

wp_ajax

wp_ajax_set_ar_featured_imageauthenticated

wp_ajax

Score History

First score snapshot

v8.40

23

Latest

Findings
657
Errors
149
Warnings
508
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins