Textpattern v4.8.2 Release Notes
Release Date: 2020-07-29 // over 3 years ago-
๐ Textpattern CMS maintenance release 4.8.2. Changes:
๐ท Tags
- ๐ Fixed:
<txp:if_yield>
'else' container returning 1 instead of contents (thanks, Vienuolis). - ๐ Changed: Matching categories in
<txp:article_custom>
now performsAND
. Usematch="Category"
for previousOR
behaviour. - ๐ Changed: '
searchall="0"
' attribute filters by section. - โ Added: valueless 'replace' attribute filters out duplicates.
- โ Added: '
size
' attribute to<txp:images>
tag to filter by aspect ratio.
๐ป UI and UX
- ๐ Fixed: Multi-edit rearmed correctly after async saves on Forms panel.
- ๐ Fixed: Sanitize custom field labels on Write panel (thanks, luuthehienhbit).
- ๐ Fixed: Notification on list panels if there were no assets recorded.
- ๐ Fixed: Incorrect search label for 'name' on Links panel.
- ๐ Fixed: Override forms on Write panel stay in step with live Theme/Section (thanks, cara-tm).
- ๐ Fixed: Image/thumb uploaders default to image types (thanks, Adi).
- ๐ Changed: Comments made by logged-in authors don't go through moderation.
- ๐ Changed: Category links in breadcrumb permlink mode.
- ๐ Changed: Multi-edit only active when checkboxes are selected.
๐ Language support & i18n
- ๐ Fixed: Update language list when deleting/switching to prevent stale entries.
- ๐ Fixed: Language errors when using article preview (thanks, Destry and jakob).
- ๐ Fixed: Date/time format when switching front-end language.
- ๐ Changed: When logging in, chosen login language is used as admin language.
- ๐ Changed: Password reset/welcome/activation and comment notification emails sent in author language.
- โ Added: Language selector on login and User Edit panels (if >1 installed).
- โ Added: Latest translations. Thank you to all translators for your hard work.
Database and server-related internals
- ๐ Fixed: Date tags return -1 in some server setups (thanks, the blue dragon).
- ๐ Fixed: Removed
TRADITIONAL
sql_mode
for a smoother upgrade (thanks, Adi). - ๐ Fixed: Plugin panel uses the tempdir pref correctly.
- Added: Support for table_collation variable in
config.php
to affectsafe_create()
calls, when used in tandem withdbcharset
.
๐ Plugins
- ๐ Fixed: Plugins loaded from cache show correct Textpack menu labels instead of untranslated strings.
- ๐ Fixed: Plugin auto-TOC strips out heading markup (thanks, Adi).
- Developer: New 'pre' pretext callback.
- ๐ Developer: Plugins can alter
$pretext
. - Developer: Add ability to filter strings in
Lang->getPack()
andextract()
. - Developer:
getIfElse()
function returns 'else' part of<txp:if_yield else />
, and may be used as anEvalElse()
replacement.
- ๐ Fixed: