Bugfixes
- Grid editor: switching the source from Posts to Custom Grid and back reset the first filter group’s selection and dropped added filters, so the next save lost them
- Grid editor: switching the source from Custom Grid to Posts and back removed every custom item and the first filter group’s filters
- Grid editor: changing the post types, or switching the source and back, reset the categories to the ones the grid was opened with; Clear now empties the categories of every post type
- Grid editor: category names with special characters such as “&” showed HTML-encoded (“&”) in the categories list
- Grid editor: the preview showed its missing-categories note for grids it does not apply to, such as a Custom Grid switched to Posts
- Grid editor: Edit Source Settings and Check Settings added “#” to the page address and an extra browser history entry
- PHP “Undefined array key” warnings in the grid editor preview and on the site for grids without some settings, such as a Custom Grid switched to Posts or a filter group without its own settings
- Essential Grid’s update check could stop a WP-Cron run with a PHP fatal error when another plugin reported a finished update without its update details
Changes
- Security: The admin escapes stored names and settings in its inline scripts, and the grid editor inserts them as text, so a stored value can no longer break the editor or be read as markup
- Security: The front-end search script escapes its settings
- ‘essgrid_getPostTypesWithCatsForClient’ and ‘essgrid_setCategoryByPostTypes’ filters: category titles are plain text (“Food & Drink”, no longer “Food & Drink”)