Portfolio by BestWebSoft – Work and Projects Presentation Plugin for WordPress

Create and add personal portfolio to your WordPress website. Manage and showcase past projects to get more clients.

v2.58bestweblayoutUpdated Added 600 installs70% rating
26
Score
525
Errors
240
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance97
Maintainability11

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

765 findings

I18n

493

5 issue groups

Maintainability

191

12 issue groups

Security

59

8 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'portfolio' but got 'bestwebsoft'.426
Category
I18n
Occurrences
426
Severity
error

Sample message

Mismatched text domain. Expected 'portfolio' but got 'bestwebsoft'.

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

Sample message

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

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

Sample message

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

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.38
Category
I18n
Occurrences
38
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.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->bws_plugin_text_domain21
Category
I18n
Occurrences
21
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->bws_plugin_text_domain

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityNot In Footer12
Category
Maintainability
Occurrences
12
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.

WARNINGMaintainabilityDynamic hook name11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGSecurityInput is not sanitized6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain6
Category
I18n
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query tax query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon-prefixed class4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityerror log debug backtrace3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing function3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGI18nDiscouraged text-domain loading2
Category
I18n
Occurrences
2
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.

WARNINGSecurityReplacements Wrong Number2
Category
Security
Occurrences
2
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 2 replacement parameters, expected 1.

External Connections

Potential connections found in static code analysis.

22 domains

Outbound calls

246

External assets

0

Incoming endpoints

3

Notable Domains

bestwebsoft.com143 · outbound
drive.google.com39 · outbound
jqueryui.com9 · outbound
themeforest.net7 · outbound
youtube.com4 · outbound

Platform / Reference Domains

w3.org3 · platform/reference
codex.wordpress.org1 · platform/reference
gnu.org1 · platform/reference
opensource.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints3
wp_ajax_bws_submit_request_feature_actionauthenticated

wp_ajax

wp_ajax_bws_submit_uninstall_reason_actionauthenticated

wp_ajax

wp_ajax_prtfl_update_imageauthenticated

wp_ajax

Score History

First score snapshot

v2.58

26

Latest

Findings
765
Errors
525
Warnings
240
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Fancy Lightbox

500 active installs

98
Filter Gallery

3k+ active installs

98
Portfolio Toolkit

600 active installs

98
Really Simple Popup

400 active installs

98