com_connect v4.7.0
Update for Textpattern 4.7.0+ and higher.
- Fix a few PHP 8.x warnings.
- Load lang strings in a Textpattern 4.7.0-ish way.
- Add en language designators to Textpack (thanks, cara-tm).
- Introduce
<txp:com_connect_mime>for supporting HTML content. - Only display labels if they've been specified (thanks, dragondz and jools-r).
- Fallback on name if label is empty.
- Use 'expire' attribute value in deletion of old tokens.
- Sanitize field names so forms still submit if names contain spaces.
- Permit {Option label} syntax to specify empty select entry that validates
(thanks, phiw13 and colak). - Fix
<txp:com_connect_value>to actually match labels. - Remove use of deprecated EvalElse().
- Replace deprecated Txp core functions with Txp::get().
- Pass
$redirectinto delivery callback.