PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin

Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.

v2.4.7bestwebsoftUpdated Added 9k+ installs78% rating100% support resolved
25
Score
1,084
Errors
1,296
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,380 findings

Maintainability

1,391

18 issue groups

I18n

447

2 issue groups

Security

399

5 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'pdf-print' but got 'bestwebsoft'.403
Category
I18n
Occurrences
403
Severity
error

Sample message

Mismatched text domain. Expected 'pdf-print' but got 'bestwebsoft'.

ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Font already added: $family $style"'.163
Category
Security
Occurrences
163
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Font already added: $family $style"'.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"/$c"'.144
Category
Security
Occurrences
144
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "GetLangOpts".83
Category
Maintainability
Occurrences
83
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BWS_GLOBAL".74
Category
Maintainability
Occurrences
74
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations freadFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().44
Category
Maintainability
Occurrences
44
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "BWS_Admin_Tooltip".41
Category
Maintainability
Occurrences
41
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityRecommended35
Category
Security
Occurrences
35
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityfile system operations fclose34
Category
Maintainability
Occurrences
34
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen33
Category
Maintainability
Occurrences
33
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGSecurityInput Not Sanitized29
Category
Security
Occurrences
29
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['err']

WARNINGSecurityMissing Unslash28
Category
Security
Occurrences
28
Severity
warning

Sample message

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

ERRORMaintainabilitybadly named files27
Category
Maintainability
Occurrences
27
Severity
error

Sample message

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

WARNINGMaintainabilityerror log var export23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname Found17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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

ERRORMaintainabilitydate date15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityerror log trigger error15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fwrite15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORMaintainabilityrand rand14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations is writable13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().

WARNINGMaintainabilityDynamic Hookname Found11
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'".

Score History

First score snapshot

v2.4.7

25

Latest

Findings
2,380
Errors
1,084
Warnings
1,296
Check
2.0.0

Related Plugins