All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Preview version.
- ability to customize button background with the property
buttonbg
. - emoji to default button text (now reading “✌️ Clone item
⚠️ ”) to clarify the danger zone character of the button.
- filename
frwssr_cloneitem.php
toindex.php
for better structure and readability.
init.js
to reflect changed filename mentioned above.index.php
(formerly known asfrwssr_cloneitem.php
) to make better use of the Perch API.readme.md
to keep up with the additions above.
- …ability to define fields, that should be unset, e.g. slug fields, with the property
unsetfields
.
- …a bug in
index.php
that would break execution of the cloning process when attributesrenamefield
and/orunsetfields
were omitted on the input field in the template.
- …the displaying of an error message on breaking of the cloning process, rather than 404-ing with no indication of what went wrong.
- …that the fieldtype assumed, the Perch folder is actually named
perch
. The Perch folder name is now irrelevant. - …the flaw, that the database table prefix was hardcoded (to
perch3_
) inindex.php
. NowPERCH_DB_PREFIX
gets pulled from/perch/config/config.php
. Thus, the fieldtype will also be usable in sites that were upgraded from Perch v2 or that use another database table prefix for other reasons.