Skip to content

Author Roles & Permissions

Compare
Choose a tag to compare
@jarednova jarednova released this 14 Feb 16:27

Changes for Theme Developers

  • Adds support for roles on the user object. Example: {{ post.author.roles }} which returns an array of roles #1898 (thanks @palmiak)
  • Adds support for capabilities on the user object. Example: {{post.author.can("moderate_comments")}} which returns true or false #1898 (thanks @palmiak)

Fixes and improvements

  • Fix an error with handling args for nav menus #1865 (thanks @palmiak)
  • Allowed tags won't be stripped when automatically generating an excerpt #1886 (thanks @davefx)
  • Fix for JPG/WEBP conversion for some older PHP installs #1854

WordPress & PHP Support

Timber now requires PHP 5.6 or greater. While Timber may work on PHP 5.5 and older versions; support will no longer be maintained in future versions.