How to be part of OSS community?
I have been active in the open-source community for years, but I never felt as useful as I wanted to be. I recently started contributing to the development of the tech stack I use.
We on the WordPress Parsi team have been developing a WordPress solar date plugin for years that covers various areas requiring the conversion of Gregorian dates to solar dates.
Part of the WP-ParsiDate plugin helps Persian integrate better with WordPress. This integration covers popular plugins such as WooCommerce, ACF, EDD, and more.
In recent WooCommerce changes, the phone number validation in the checkout page had a problem and was not working properly in our plugin. That is why I created a pull request on the WooCommerce project to fix it, a change that will help non-English languages integrate better with WooCommerce.
The change will be included in WooCommerce 11, and I am happy to be part of this useful plugin’s history.
WooCommerce 11.0: What’s coming for developers
Phone validation and formatting hooks
PRs: #65817 #66122
WooCommerce 11.0 adds two focused hooks for phone handling.woocommerce_validate_phonesupports custom validation for local formats and non-English numerals , whilewoocommerce_format_phone_numberlets extensions customize presentation without changing validation behavior.
The release also addsWC_Validation::is_phone_format()for a country-agnostic shape check. This gives extensions that support local phone formats a clearer separation between formatting and validation.