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 performs AND. Use match="Category" for previous OR 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 affect safe_create() calls, when used in tandem with dbcharset.

    ๐Ÿ”Œ 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() and extract().
    • Developer: getIfElse() function returns 'else' part of <txp:if_yield else />, and may be used as an EvalElse() replacement.