Auto Publish for Google My Business

Auto Publish for Google My Business automatically publishes posts, custom posts and pages to your Google Business page or display Google My Business r …

v3.13Northern Beaches WebsitesUpdated Added 10k+ installs98% rating
35
Score
216
Errors
192
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability62

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

408 findings

Security

291

7 issue groups

Maintainability

68

8 issue groups

I18n

45

4 issue groups

Repo Compliance

4

4 issue groups

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['accessToken']. Check that the array index exists before using it.76
Category
Security
Occurrences
76
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['accessToken'] not unslashed before sanitization. Use wp_unslash() or similar69
Category
Security
Occurrences
69
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-google-my-business-auto-publish' but got 'wp-google_business-auto_publish'.39
Category
I18n
Occurrences
39
Severity
error

Sample message

Mismatched text domain. Expected 'wp-google-my-business-auto-publish' but got 'wp-google_business-auto_publish'.

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['nonce']12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing VersionResource 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.12
Category
Maintainability
Occurrences
12
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.

WARNINGMaintainabilityNot In FooterIn 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.10
Category
Maintainability
Occurrences
10
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.

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

Sample message

Processing form data without nonce verification.

Show 13 more
ERRORSecuritySetting is missing a sanitization callback6
Category
Security
Occurrences
6
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "get_the_post_thumbnail_url()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.0.0.

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $label

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilitylibrary core files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

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

Sample message

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

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

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.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "auto-publish-for-google-my-business", expected "wp-google-my-business-auto-publish".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "wp-google-my-business-auto-publish" - contains the restricted term "wp" which cannot be used at all in your plugin slug.

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.13

35

Latest

Findings
408
Errors
216
Warnings
192
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins