Publish to Schedule

Automate your WordPress post scheduling with Publish to Schedule. Set rules for days and times to publish posts automatically, saving you time and ens …

v4.5.8alexbenficaUpdated Added 4k+ installs86% rating
37
Score
195
Errors
43
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability66

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

238 findings

Security

108

8 issue groups

I18n

87

4 issue groups

Maintainability

41

8 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'publish-to-schedule' but got ''.80
Category
I18n
Occurrences
80
Severity
error

Sample message

Mismatched text domain. Expected 'publish-to-schedule' but got ''.

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

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.27
Category
Maintainability
Occurrences
27
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['my_form_nonce']13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGSecurityMissing Unslash$_POST['my_form_nonce'] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['pts_0']. Check that the array index exists before using it.12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

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

Sample message

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: 'Believe me... even <strong>$'. $howMuch. ' per month</strong> will make me super happy... :)'4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Believe me... even <strong>$'. $howMuch. ' per month</strong> will make me super happy... :)'

ERRORMaintainabilityrand randrand() is discouraged. Use the far less predictable wp_rand() instead.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

Show 12 more
ERRORI18nInterpolated Variable Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: $plName

ERRORSecurityUnescaped DBParameter1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 254.

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityNot Prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityUsing FILE 1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

ERRORMaintainabilityrand seeding srand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

srand() is discouraged. Rand seeding is not necessary when using the wp_rand() function (as you should).

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

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

Sample message

Tested up to: 6.9 < 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.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

Score History

First score snapshot

v4.5.8

37

Latest

Findings
238
Errors
195
Warnings
43
Check
2.0.0

Related Plugins

PufferDesk

0 active installs

100
AIKTP

3k+ active installs

99
Essential Widgets

10k+ active installs

99
Cancel Abandoned Order

1k+ active installs

98