Pay For Post with WooCommerce

Sell Pages/Posts through WooCommerce 2.6+ quickly and easily. Tested up to WooCommerce Version 10.4.x

v3.2.33Matt PramschuferUpdated Added 1k+ installs94% rating
21
Score
960
Errors
1,474
Warnings
+0
Change

Category Scores

Security0
Repo70
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,434 findings

Maintainability

1,492

14 issue groups

Security

744

9 issue groups

I18n

165

2 issue groups

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$account_addon_ids".1,106
Category
Maintainability
Occurrences
1,106
Severity
warning

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.611
Category
Security
Occurrences
611
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-pay-per-post' but got 'sample-text-domain'.130
Category
I18n
Occurrences
130
Severity
error

Sample message

Mismatched text domain. Expected 'woocommerce-pay-per-post' but got 'sample-text-domain'.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.103
Category
Maintainability
Occurrences
103
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.55
Category
Maintainability
Occurrences
55
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.8.0.38
Category
Maintainability
Occurrences
38
Severity
error

Sample message

Function "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.8.0.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to _e().35
Category
I18n
Occurrences
35
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.34
Category
Maintainability
Occurrences
34
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.

Show 15 more
WARNINGMaintainabilityNon Prefixed Hookname Found34
Category
Maintainability
Occurrences
34
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect Query22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

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

WARNINGSecurityRecommended13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityerror log debug backtrace12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

WARNINGSecurityInput Not Sanitized12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

WARNINGSecurityMissing Unslash12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

ERRORSecurityregister setting Missing7
Category
Security
Occurrences
7
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORSecurityException Not Escaped7
Category
Security
Occurrences
7
Severity
error

Sample message

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

ERRORMaintainabilityEcho Found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $transient ..." but found "<?= $transient ..."

WARNINGSecurityInterpolated Not Prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable {$order_table} at &quot;\n SELECT COUNT(*)\n FROM {$wpdb-&gt;prefix}wc_order_product_lookup\n LEFT JOIN {$order_table} AS orders ON orders.id={$wpdb-&gt;prefix}wc_order_product_lookup.order_id\n LEFT JOIN {$wpdb-&gt;prefix}wc_customer_lookup ON {$wpdb-&gt;prefix}wc_customer_lookup.customer_id={$wpdb-&gt;prefix}wc_order_product_lookup.customer_id\n WHERE \n {$wpdb-&gt;prefix}wc_customer_lookup.user_id= %d \n AND ({$wpdb-&gt;prefix}wc_order_product_lookup.product_id = %d OR {$wpdb-&gt;prefix}wc_order_product_lookup.variation_id = %d)\n AND orders.status IN ({$status_sql})\n &quot;

ERRORSecurityNot Prepared4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityerror log var export4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

Score History

First score snapshot

v3.2.33

21

Latest

Findings
2,434
Errors
960
Warnings
1,474
Check
2.0.0

Related Plugins