Skip to content

v4.8.6

Compare
Choose a tag to compare
@Bloke Bloke released this 28 May 21:43
· 269 commits to main since this release

DO NOT USE IN PRODUCTION - issues discovered after release, use 4.8.7 instead.

Textpattern CMS maintenance release including improvements for PHP 8.0, bug fixes and minor tweaks.

Headlines

  • Fixed regression in override form usage in lists (thanks, Christian Rapp).
  • Fixed undefined $article warning when accessing non-existent articles.
  • Fixed error with <txp:output_form /> tag on empty forms (thanks, Adi).
  • Fixed low-privilege users can save immediately after duplicating articles.
  • Latest text translations. Thank you to all our translators.
  • Option to create database during setup.
  • Permission (grants) verification during setup.

Tag modifications

  • Articles can be filtered by keywords more easily.
  • Added: id attribute to <txp:if_different /> tag.
  • Added: db option to the global escape attribute.
  • <txp:variable trim> trims its own output (thanks, cara-tm).
  • <txp:link_to_next/prev> can return URL or container.
  • <txp:page_url> and <txp:if_request> tags are more flexible.
  • Boost power of txp:article(_custom) grouping by date.
  • Deprecate <txp:search_result_date />. Use <txp:posted /> instead.
  • Remove deprecated break attribute from search_result_excerpt tag.

Back-end tweaks

  • 'Assign sections' from Themes panel only selects its own sections.
  • No Edit options in Write panel without appropriate privileges.
  • No disabled update buttons on Languages panel (thanks, phiw13).
  • Search improved when handling numbers. Comparators can also be used for numeric searches.

Developer goodies

  • Permit step=false to hook into explicit empty step callbacks and step=null to indicate 'any step'.
  • Permit $pre to be any text. Opens up arbitrary callback grouping.
  • New articles>multi_edit.$method callback on Articles list panel.
  • User panel callbacks:
    user>fields and user>from to manipulate the query
    user>controls to affect the button area
    user_ui>list.row (pluggable_ui) for adding table data
    user>steps for plugins to register custom panel-level functionality
  • Diagnostics panel callbacks diag>steps and diag_ui>level for custom plugin steps and functionality.