پارسی دیت – Parsi Date

wp-parsidate

Persian date support for WordPress

B
86%
Versija Atjaunots 1,283,329+ lejupielādes 100,000+ aktīvas instalācijas Autors: Morteza Geransayeh Avots: wordpress.org WordPress.org

Score breakdown

A Compatibility
C php-compatibility
A coding-standards
A wp-since
Nepieciešams WordPress 5.3 vai jaunāks
Pārbaudīts līdz 6.9.4 Aktuāls
Nepieciešams PHP 7.4 vai jaunāks
Pēdējo reizi atjaunots Nesen
Spraudņu atkarības Nav
WP–PHP compatibility ok PHP 7.4+ is compatible with WP 5.3+ (which requires PHP 5.6.20+).
50%
Ok
Declared PHP
7.4+ (plugin header)
Detected PHP
7.3+

Declared PHP 7.4+ is above the effective minimum (7.3+) — unnecessarily strict. Effective minimum: PHP 7.3+.

Tested versions
PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4 PHP 8.0 PHP 8.1 PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5

Lowest required PHP version: 7.3

Analysed on

The coding standards scan found 93 error(s) and 201 warning(s), but the weighted issue density is only 3.09 per 100 non-empty PHP lines across 18798 lines.

93
errors
201
warnings
19
files with issues
45
files scanned
3.09
issues / 100 lines

Detected 93 error(s) and 201 warning(s) across 19 file(s) with issues, with a weighted density of 3.09 per 100 non-empty PHP lines.

Issues by rule

WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 53
WordPress.Security.ValidatedSanitizedInput.MissingUnslash 49
WordPress.Security.NonceVerification.Recommended 47
WordPress.Security.NonceVerification.Missing 37
WordPress.DateTime.RestrictedFunctions.date_date 24
WordPress.Security.ValidatedSanitizedInput.InputNotValidated 12
WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder 9
WordPress.WP.AlternativeFunctions.rand_rand 8
WordPress.WP.AlternativeFunctions.curl_curl_setopt 6
WordPress.WP.AlternativeFunctions.file_system_operations_fclose 6
WordPress.WP.AlternativeFunctions.parse_url_parse_url 6
WordPress.WP.AlternativeFunctions.file_system_operations_fopen 5
Generic.PHP.ForbiddenFunctions.Found 4
WordPress.WP.AlternativeFunctions.curl_curl_close 3
WordPress.WP.AlternativeFunctions.rand_mt_rand 3
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags 3
WordPress.DB.PreparedSQL.InterpolatedNotPrepared 2
WordPress.WP.AlternativeFunctions.curl_curl_exec 2
WordPress.WP.AlternativeFunctions.curl_curl_init 2
WordPress.WP.AlternativeFunctions.file_system_operations_fputs 2
WordPress.WP.AlternativeFunctions.file_system_operations_fread 2
WordPress.WP.AlternativeFunctions.file_system_operations_fsockopen 2
WordPress.WP.AlternativeFunctions.unlink_unlink 2
WordPress.DB.PreparedSQL.NotPrepared 1
WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace 1
WordPress.WP.AlternativeFunctions.curl_curl_errno 1
WordPress.WP.AlternativeFunctions.curl_curl_error 1
WordPress.WP.AlternativeFunctions.curl_curl_getinfo 1

Issues 25

  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/general.php line 71:34
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/general.php line 71:77
  • warning
    Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.
    WordPress.Security.ValidatedSanitizedInput.InputNotValidated
    wp-parsidate/includes/general.php line 133:10
  • warning
    $_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    wp-parsidate/includes/general.php line 133:10
  • warning
    Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']
    WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    wp-parsidate/includes/general.php line 133:10
  • warning
    $_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    wp-parsidate/includes/general.php line 252:56
  • warning
    Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']
    WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    wp-parsidate/includes/general.php line 252:56
  • error
    Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.
    WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder
    wp-parsidate/includes/fixes-archives.php line 40:1
  • error
    Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.
    WordPress.DB.PreparedSQLPlaceholders.QuotedSimplePlaceholder
    wp-parsidate/includes/fixes-permalinks.php line 186:1
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    wp-parsidate/includes/tools.php line 23:42
  • warning
    debug_backtrace() found. Debug code should not normally be used in production.
    WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
    wp-parsidate/includes/plugins/disable.php line 32:11
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 92:14
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 92:46
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 97:14
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 101:28
  • warning
    $_GET['end_date'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    wp-parsidate/includes/plugins/disable.php line 101:28
  • warning
    Detected usage of a non-sanitized input variable: $_GET['end_date']
    WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    wp-parsidate/includes/plugins/disable.php line 101:28
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    wp-parsidate/includes/plugins/disable.php line 102:9
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 104:14
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/disable.php line 108:28
  • warning
    $_GET['start_date'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    wp-parsidate/includes/plugins/disable.php line 108:28
  • warning
    Detected usage of a non-sanitized input variable: $_GET['start_date']
    WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    wp-parsidate/includes/plugins/disable.php line 108:28
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    wp-parsidate/includes/plugins/wc-gateways/wpp-mellat-gateway.php line 184:40
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    wp-parsidate/includes/plugins/wc-gateways/wpp-mellat-gateway.php line 185:40
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    wp-parsidate/includes/plugins/wc-gateways/wpp-mellat-gateway.php line 237:31
Analysed on

The plugin declares WordPress 5.3 and wp-since found no used core symbols that require a newer WordPress version.

Ok
Declared min WP
5.3+
Suggested min WP
Tool output
✅ Minimum version declared: 5.3 (from main plugin file header)

✅ All good! Your plugin is compatible with WP 5.3.
Analysed on

Vērtējumu skala

A Izcils B Labs C Pieņemams D Vājš F Nepietiekams