Closed PodsBot closed 4 months ago
Updated Software Version
Updated the software version to 3.1.4
from previous version, reflected in init.php
and package.json
files. This update also includes notes for the changes in changelog.txt
and readme.txt
files.
Improved Default Values Display Rectified the issue of displaying default values for checkbox groups in the Edit Field modals.
Fixed Persistent PHP Errors Resolved potential PHP errors associated with cached configurations in Collection classes that were present since version Pods 2.x.
Addressed CodeMirror Issue Managed an issue related to CodeMirror 6.x fields in forms due to an NPM build issue. Note, this problem is separate from the version 5.x used by the Pods Template editor.
Sanitization Function Improvement
Re-designed the maybe_sanitize_output
function to utilise the static::$type . '_sanitize_html'
. Same approach has been applied to options function in multiple classes i.e., code.php
, heading.php
, paragraph.php
, text.php
, wysiwyg.php
.
New Function for Keyed Objects
Introduced a new function pods_objects_keyed_by_name
in includes/data.php
and src/Pods/Whatsit.php
that arranges the list of objects by their names.
Function Update for Keyed Objects
Updated multiple functions in various files to leverage the newly added pods_objects_keyed_by_name
function.
UI Component Updates
Enhanced the FieldSet
and BooleanGroup
components to handle situations where subField.default
value is null
.
Increased Code Component Support
Augmented the Code
component to support more programming languages: CSS, HTML, JavaScript, JSON (in addition to existing PHP).
Automated changes by create-pull-request GitHub action