=== Parsi Date | بسته فارسی ساز وردپرس و ووکامرس پارسی دیت === Contributors: lord_viper, man4toman, parselearn, yazdaniwp, saeedfard, iehsanir, wordpress-parsi Donate link: https://wp-parsi.com/support/ Tags: Shamsi, Persian, Jalali, WooCommerce, ووکامرس Requires at least: 5.3 Tested up to: 7.1 Stable tag: 6.6.1 Requires PHP: 7.4 License: GPLv3 Persian date support for WordPress and WooCommerce == Description == ParsiDate is a powerful plugin developed by Persian contributors to enhance the WordPress experience for Farsi users. It provides full support for the Shamsi (Jalali) calendar across the WordPress dashboard and front-end, fixes character display issues, and improves Right-to-Left (RTL) compatibility. With seamless integration into core features and popular plugins like WooCommerce and Gravity Forms, ParsiDate makes managing Persian websites easier and more professional. = Key Features: = = Date & Calendar Functionality = * Shamsi (شمسی) Calendar - Complete Solar Hijri calendar support * Date Conversion - Automatic conversion throughout WordPress * Archive Widgets - Shamsi date-based post archives * Calendar Widget - Interactive Persian calendar widget * Permalink Support - Shamsi dates in custom permalinks = Editor & Admin Integration = * Gutenberg Support - Shamsi date picker in Block Editor * ACF Integration - Persian date field type for Advanced Custom Fields * Admin Dates - Shamsi dates throughout WordPress admin dashboard * Content Dates - Automatic Persian dates in posts, pages, comments, and archives = Commerce & E-commerce = * WooCommerce Ready - Full WooCommerce (ووکامرس) compatibility with Persian dates * Product Support - Persian dates for orders, products, and customer data * Support for Iranian payment gateways with [ParsiGate](https://wordpress.org/plugins/parsigate/) addon - Bank gateways: Mellat, Parsian, Pasargad, Sadaad, Melli, Behpardakht, Asan Pardakht, Saman, Saderat, Eghtesad Novin, Iran Kish, Sepehr - Installment gateways: SnappPay, Tara, Digipay, Azki - Intermediary gateways: Zibal, Zarinpal, PayPing, Aghayepardakht - Test gateway for simulating purchases without a bank account = Text & Character Processing = * Arabic to Persian - Automatic character conversion (ي/ك to ی/ک) * Number Localization - Convert Eastern Arabic and Latin numerals * Full RTL Support - Complete right-to-left text direction optimization * TinyMCE Adjustments - RTL-optimized WordPress editor = Performance = * Lightweight - Minimal resource usage and fast performance * Efficient - Optimized code for production environments * WP-Planet Widget - Integration with [WP-Planet.ir](https://wp-planet.ir) == Installation == 1. Upload plugin folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. To use the archives widget, go to 'Widgets' and choose 'بایگانی تاریخ خورشیدی' 4. To use the calendar widget, go to 'Widgets' and choose 'گاهشمار تاریخ خورشیدی' == Screenshots == 1. Dashboard tab 2. Core settings 3. Conversions settings 4. Tools settings 5. Integration and addon settings 6. Addon tab 7. WooCommerce settings == Upgrade Notice == = 6.6.1 = Fixes a "regular expression is too large" warning on long pages, where numbers were not converted. / رفع هشدار «regular expression is too large» در صفحههای طولانی. = 6.6 = If you use a Parsi Date bank gateway (Parsian, Pasargad, Mellat, Melli), install ParsiGate: the gateways will be removed from Parsi Date in version 7.0. / اگر از درگاه بانکی پارسیدیت استفاده میکنید، پارسیگیت را نصب کنید؛ درگاهها در نسخهی ۷.۰ حذف میشوند. == Changelog == = 6.6.1 = * Fix: "preg_split(): Compilation failed: regular expression is too large" warning on long posts and page-builder pages (about 1500 tags or more), where digits in the content were left unconverted * Fix: Pods integration rejected dates in Pods' own display formats (e.g. 11/26/2026), which blocked saving items with date fields, and accepted invalid Jalali dates such as 1405-13-01 = 6.6 = * Security: SQL injection through the WooCommerce reports `start_date`/`end_date` query arguments. Only a valid Jalali or Gregorian date is used now; any other value is dropped before it reaches the report query. * Security: Melli (Sadad) gateway now also checks the amount and order id confirmed by the bank, and that the order still needs payment, before completing an order (hardens the payment-verification fix of 6.5) * Security: Stored XSS in post content through the number converter. It rebuilt the post with DOMDocument and libxml wrote attribute text after `&{` back unescaped, so an escaped attribute inside an element such as `
` sat inside an unclosed ``, `