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.
- Added support for querying by multiple relationships. See docs for details.
- Extracted admin columns and meta boxes into their own classes
- Renamed files and classes for clarity
- Fixed incorrect order of items when changing order of connected items.
- Changed the database structure by adding
order_from
andorder_to
columns to track order of items. - Removed reference to global
$wpdb
and use the global variable directly. This prevents serialize objects in some unexpected situations.
- Fixed cannot query for posts excluded from search.
- Fixed not showing entries in admin columns.
- Added 'closed' and 'autosave' param to relationship meta boxes.
- Fixed indirect variable access in PHP 5.x.
- Reverted the
'post_type' => 'any'
as it relates to many queries.
- Remove
'post_type' => 'any'
in the query for relationship, which causes unexpected behaviour with post types that have'exclude_from_search' => true
. Developers should always setpost_type
in their queries. See https://bit.ly/2lPvnPk.
- Added support for admin columns. See documentation for details.
- Added API to get siblings items.
- Fixed output of related posts with the same order as in the backend.
- Made clones sortable
- Added meta box for selecting 'from' objects
- Added CRUD API for relationships
- Initial version