Full Jalali calendar support for Wordpress and localization improvements for Persian/Afghan/Tajik users.
Prioritized issue groups from the latest Plugin Check scan
Security
120
8 issue groups
Maintainability
84
14 issue groups
I18n
76
3 issue groups
Sample message
Mismatched text domain. Expected 'wp-jalali' but got 'ztjalali'.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$Message'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "gregorian_to_jalali".
Sample message
Use of a direct database call is discouraged.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Unescaped parameter $enddate used in $wpdb->get_row()\n$enddate assigned unsafely at line 153.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $enddate at "AND post_date <= '$enddate 23:59:59' "
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.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
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.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$jdate_month_name".
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_USER_AGENT']
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_USER_AGENT']. Check that the array index exists before using it.
Sample message
$_SERVER['HTTP_USER_AGENT'] not unslashed before sanitization. Use wp_unslash() or similar
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.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "wp-jalali" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Use placeholders and $wpdb->prepare(); found $limStr
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "JALALI_DIR".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "the_title".
Sample message
Missing $domain parameter in function call to _x().
Not analyzed yet.
First score snapshot
v5.0.1
32
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 32 | 285 | 219 | 66 | v5.0.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.