Perch Update 1.6.5

We’ve updated Perch with a number of bug fixes for issues discovered via our support system and some enhancements to the developer API to support better functionality in add-ons.

Please back up your site and database before updating. If updating from a version earlier than 1.6, please run the /perch/update script once you have copied the files.

Do I need to install this?

There’s no need to install immediately. You should update when it’s next convenient to do so. This release contains a number of small bug fixes.

What does it fix?

This release fixes the below issues:

  • Fixes a minor undeclared variable warning
  • Fixes an issue with words and chars attributes truncating HTML tags and leaving them open
  • Fixes slug creation to transliterate non-ascii chars a close ascii equivalent
  • API fix: dynamic fields are now correctly parsed for formatting languages
  • API fix: dynamic fields now have working words and chars attributes

Users experiencing these issues should update as soon as possible.

What features does it add?

  • Settings page is now split into sections per app to make it easier to use
  • Added output of settings and PERCH constants to diagnostics report to help with support
  • API enhancement: Adds version number to register_app() method
  • API enhancement: Adds icon() method to PerchAPI_HTML to get useful icons
  • API enhancement: Adds API class PerchAPI_Text with text_to_html() method
  • API enhancement: Adds PerchAPI_Paging class for easy pagination
  • API enhancement: Adds new PerchAPI_Image class for image manipulation

What impact does it have for my clients?

Editors should not notice any major differences to the interface.

Where do I get the update?

Log into your account and re-download the files. The download has been replaced with the newest version.

Make a back-up of your files and database.

No, really. Make a back-up. There’s always someone who doesn’t and manages to delete the wrong files – don’t let that be you.

Unzip and replace your existing files with the exception of:

  • config
  • resources
  • templates
  • plugins – if you have added to this

These contain information specific to your installation and should not be overwritten. There is no need to copy setup, as you’re already up and running.

If updating from a version prior to 1.6, visit /perch/update in your browser. If you’ve already been running Perch 1.6 or greater, you can skip this step.

That’s all you need to do – Perch is now updated.

Previous updates