v4.8.2
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.