# User Age Calculator

WordPress plugin that lets visitors calculate their age from a date of birth to the current date, or to another date.

- Requires at least: WordPress 6.0
- Tested up to: WordPress 7.1
- Requires PHP: 7.4
- Stable tag: 1.1.0
- License: GPLv2 or later

## Usage

1. Activate the plugin.
2. Open **Settings → User Age Calculator**.
3. Copy a shortcode:
   - `[user-age-calculator template=1]` — age to the current date
   - `[user-age-calculator template=2]` — age to a given date
4. Paste the shortcode into a post or page.

## Changelog

### 1.1.0

- Confirmed compatibility with WordPress 7.1 and PHP 7.4+.
- Raised the minimum supported WordPress version to 6.0.
- Fixed PHP 8 warnings, output escaping, nonce handling, and unsaved time-label settings.
- Fixed JavaScript date validation, 12-hour time conversion, and age calculation.
- Fixed CSS selectors, duplicate IDs, invalid markup, and admin layout issues.
