Opal Service

Opal Service is a flexible WordPress plugin that lets you display your company’s services in a variety of ways: as single pages, and even as embedded …

v1.9.1wpopalUpdated Added 900 installs0% rating
28
Score
339
Errors
329
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance98
Maintainability28

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

668 findings

Maintainability

353

16 issue groups

Security

280

7 issue groups

I18n

29

2 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'></span>\r\n'.226
Category
Security
Occurrences
226
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'></span>\r\n'.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;33
Category
Maintainability
Occurrences
33
Severity
error

Sample message

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

ERRORI18nMissing Translators CommentA 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.28
Category
I18n
Occurrences
28
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.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.21
Category
Security
Occurrences
21
Severity
error

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Template /templates/{$name}.php in plugin dir {$plugin_dir} not found."'.12
Category
Security
Occurrences
12
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Template /templates/{$name}.php in plugin dir {$plugin_dir} not found."'.

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;OSV_Elementor_Widget_Service&quot;.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;OSV_Elementor_Widget_Service&quot;.

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_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.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_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.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;deprecated_argument_run&quot;.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;deprecated_argument_run&quot;.

Show 15 more
ERRORMaintainabilitystrip tags strip tags8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;CategoryService_OptionArray&quot;.

WARNINGSecurityInput is not sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;display&#039;]

WARNINGSecurityRequest data is not unslashed4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_GET[&#039;display&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDiscouraged PHP function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

wp_reset_query() is discouraged. Use wp_reset_postdata() instead.

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
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.

ERRORMaintainabilityLocalhost URL found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Do not use Localhost/127.0.0.1/*.local in your code. Found: http://localhost/

ERRORSecuritySetting is missing a sanitization callback2
Category
Security
Occurrences
2
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityslow db query tax query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityDynamic hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$filter&quot;.

ERRORMaintainabilitybadly named files2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

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.

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

26 domains

Outbound calls

206

External assets

0

Incoming endpoints

12

Notable Domains

cmb2.io60 · outbound
wpopal.com43 · outbound
docs.jquery.com4 · outbound
jquery.org4 · outbound
jqueryui.com4 · outbound
v2.wp-api.org3 · outbound

Platform / Reference Domains

github.com28 · platform/reference
gnu.org21 · platform/reference
schema.org8 · platform/reference
wordpress.org6 · platform/reference
opensource.org3 · platform/reference
core.trac.wordpress.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_cmb2_oembed_handlerpublic

wp_ajax

wp_ajax_nopriv_get_office_propertypublic

wp_ajax

wp_ajax_nopriv_opalrealestate_delete_property_imagepublic

wp_ajax

wp_ajax_nopriv_opalrealestate_upload_imagespublic

wp_ajax

wp_ajax_nopriv_opalrealestate_upload_user_avatarpublic

wp_ajax

wp_ajax_nopriv_wp_ajax_opalrealestate_user_uploadpublic

wp_ajax

Admin AJAX endpoints6
wp_ajax_cmb2_oembed_handlerauthenticated

wp_ajax

wp_ajax_opalrealestate_delete_property_imageauthenticated

wp_ajax

wp_ajax_opalrealestate_upload_imagesauthenticated

wp_ajax

wp_ajax_opalrealestate_upload_user_avatarauthenticated

wp_ajax

wp_ajax_opalrealestate_user_uploadauthenticated

wp_ajax

wp_ajax_property_change_agent_infoauthenticated

wp_ajax

Score History

First score snapshot

v1.9.1

28

Latest

Findings
668
Errors
339
Warnings
329
Check
2.0.0

Relationship Map

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

33 nodes

Related Plugins

Service Showcase

800 active installs

41