Background Per Page

Background Per Page allows you to set a custom background per page (or post) as well as set up a default background for all other pages/posts.

v0.3Andy CharringtonUpdated Added 700 installs86% rating
33
Score
80
Errors
56
Warnings
+0
Change

Category Scores

Security0
Repo78
Performance100
Maintainability58

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

136 findings

Maintainability

61

14 issue groups

Security

44

6 issue groups

I18n

27

3 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'background-per-page' but got 'rwmb'.25
Category
I18n
Occurrences
25
Severity
error

Sample message

Mismatched text domain. Expected 'background-per-page' but got 'rwmb'.

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='{$class}'>{$html}</div>"'.19
Category
Security
Occurrences
19
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='{$class}'>{$html}</div>"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$file&quot;.9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$file&quot;.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;PREFIX_register_meta_boxes&quot;.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[$name]8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[$name]

WARNINGSecurityRequest data is not unslashed$_POST[$name] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityShort URL foundShort URL detected (goo.gl). Use full URLs instead of URL shorteners.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Short URL detected (goo.gl). Use full URLs instead of URL shorteners.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES[&#039;async-upload&#039;]. Check that the array index exists before using it.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;async-upload&#039;]. Check that the array index exists before using it.

Show 15 more
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.

ERRORMaintainabilityNot Allowed3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log var export1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated function: add_custom_background1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

add_custom_background() has been deprecated since WordPress version 3.4.0. Use add_theme_support( 'custom-background', $args ) instead.

ERRORMaintainabilityDeprecated parameter: get_terms parameter 21
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "$options['args']" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
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.

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 3.3 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

External Connections

Potential connections found in static code analysis.

11 domains

Outbound calls

35

External assets

1

Incoming endpoints

3

Notable Domains

jqueryui.com7 · outbound
docs.jquery.com6 · outbound
jquery.org6 · outbound
goo.gl5 · outbound
deluxeblogtips.com3 · outbound
trentrichardson.com3 · outbound

Platform / Reference Domains

github.com2 · platform/reference

External Asset Domains

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints3
wp_ajax_plupload_image_uploadauthenticated

wp_ajax

wp_ajax_rwmb_delete_fileauthenticated

wp_ajax

wp_ajax_rwmb_reorder_imagesauthenticated

wp_ajax

Score History

First score snapshot

v0.3

33

Latest

Findings
136
Errors
80
Warnings
56
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Custom Currency Sign

600 active installs

99
Customize Admin

4k+ active installs

99
XO Post Background

1k+ active installs

98
Custom Shortcodes

6k+ active installs

96
Kattene

1k+ active installs

95