WP Manifestindependent plugin directory
manifest / users / persian-to-english-number-converter

Persian to English Number Converter WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB

Converts Persian numbers to English numbers in the phone number field for Digits registration.

★ 11stars
2.1.0latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/hassan7303/persian-to-english-number-converter/archive/refs/heads/master.zip
Updates itself. It ships its own updater, so new versions appear under Dashboard → Updates.

Contributors Forks Stargazers MIT License LinkedIn Telegram Instagram GitHub Email Website

Persian to English Number Converter

Description

A lightweight WordPress plugin that automatically converts Persian numbers in the phone number field of the Digits registration form to English numbers.

Features

Converts Persian numbers (e.g., ۱۲۳۴۵۶۷۸۹۰) to English numbers (e.g., 1234567890).
Automatically applies conversion on the Digits registration page.

Installation

  1. Download the ZIP file of the plugin from GitHub.
  2. Go to your WordPress admin dashboard.
  3. Navigate to Plugins → Add New → Upload Plugin.
  4. Upload the downloaded ZIP file and activate the plugin.

Usage

This plugin works automatically on the Digits registration form and requires no additional configuration.
Ensure the phone number field has the id="digt_email" in registration and id="username" for login so the conversion is applied.

Automatic Updates

This plugin connects to the GitHub repository and automatically fetches updates when a new version is released.
Make sure that WordPress automatic updates for plugins are enabled.

Contribution

  1. Fork the repository on GitHub.
  2. Implement your changes.
  3. Create a Pull Request to submit your changes.

مبدل شماره فارسی به انگلیسی

توضیحات

افزونه‌ای سبک برای وردپرس که به طور خودکار اعداد فارسی را در فیلد شماره تلفن فرم ثبت‌نام Digits به اعداد انگلیسی تبدیل می‌کند.

امکانات

تبدیل اعداد فارسی (مانند ۱۲۳۴۵۶۷۸۹۰) به اعداد انگلیسی (مانند 1234567890).

اعمال خودکار تبدیل در صفحه ثبت‌نام Digits.

نصب

۱. فایل ZIP افزونه را از گیت‌هاب دانلود کنید.

۲. وارد پیشخوان وردپرس شوید.

۳. به مسیر افزونه‌ها → افزودن → بارگذاری افزونه بروید.

۴. فایل ZIP دانلود شده را آپلود کرده و افزونه را فعال کنید.

استفاده

این افزونه به طور خودکار روی فرم ثبت‌نام Digits کار می‌کند و نیازی به پیکربندی اضافی ندارد.

مطمئن شوید که فیلد شماره تلفن دارای ویژگی id="digt_email"در ثبت نام و داری ویژگی "id="username"در ورود باشد تا تبدیل اعمال شود.

بروزرسانی خودکار

این افزونه به مخزن گیت‌هاب متصل است و در صورت وجود نسخه جدید به صورت خودکار آن را دریافت می‌کند.
مطمئن شوید که آپدیت‌های خودکار وردپرس برای افزونه‌ها فعال باشد.

مشارکت

۱. این مخزن را در گیت‌هاب Fork کنید.

۲. تغییرات موردنظر خود را اعمال کنید.

۳. یک Pull Request برای ارسال تغییرات ایجاد کنید.

Releases

3 releases.

Tag
Published
2.1.0 latest
Nov 27, 2024 1 year ago
Nov 27, 2024 1 year ago
Nov 27, 2024 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

B grade

Security

Persian to English Number Converter 2.1.0 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
2.1.0
Findings
1
Worst severity
medium
Content hash
6d431dcb19648caf7d413a5e…

Findings

  • medium GitHub plugin updater disables TLS verification and installs the response zipball_url

    insecure_config

    check_for_plugin_update() is hooked to pre_set_site_transient_update_plugins and, on every WordPress plugin-update check (wp-admin or wp-cron), calls wp_remote_get() against a hardcoded GitHub releases/latest URL with sslverify => false. The JSON tag_name is version_compare()'d against the installed header and zipball_url is copied verbatim into $transient->response[$plugin_slug]->package with no check that the URL is on api.github.com/github.com. WordPress core then downloads that package and WP_Upgrader overwrites this plugin's directory. The README tells operators to enable automatic plugin updates, so a successful MITM (rogue DNS, compromised middlebox, local HTTP proxy on a self-hosted shop) can ship arbitrary PHP without an administrator clicking Update. This is not a Subscriber-reachable HTTP handler and not unauthenticated WordPress RCE via a public endpoint; it is an insecure TLS default on the self-update channel whose consumer is plugin-file replacement. HTTP status is not checked before json_decode; a forged 200 body is enough. No secrets ride on the request.

    Persian-to-english-number-converter.php:84-113

    Recommendation

    Remove sslverify => false (WordPress defaults to true). Allowlist package URLs to https://api.github.com/ or https://github.com/hassan7303/Persian-to-english-number-converter/. Prefer a GitHub release asset with a pinned SHA-256 over zipball_url. Fail closed on non-200 responses.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.