Releases: johnbillion/extended-cpts
Releases · johnbillion/extended-cpts
5.0.1
5.0.0
This is mostly a release to modernise the internal code in the library, with some fixes and potentially breaking changes.
- The minimum supported PHP version is now 7.4
- The minimum officially supported version of WordPress is now 5.6
- An admin column custom callback function now receives the
WP_Post
object as its first parameter (use this instead of the$post
global) - #135 - Internal PHP classes were namespaced and renamed which means you may need to update any strictly typed parameters when using the
ext-cpts/*
orext-taxos/*
actions - See https://github.com/johnbillion/extended-cpts/wiki/Available-filters-and-actions for details - Post types are now included in the
Recently Published
dashboard section by default (dashboard_activity
argument) - #163 - Potentially incorrectly displayed dates for admin columns that use
date_format
have been fixed - #105 - New actions were introduced:
ext-cpts/{post_type}/admin-instance
andext-taxos/{taxonomy}/admin-instance
- #166
4.5.2
- Support for new labels added in WordPress 5.7 and some upcoming in 5.8.
- Fixes for admin columns when customising the
attachment
post type.
4.5.1
- Correct the taxonomy admin screen column action that should be a filter.
4.5.0
- Support for PHP 8.
4.4.1
- Introduce some new filters. See the filters and actions documentation for all the details.
ext-cpts/args
ext-cpts/names
ext-taxos/args
ext-taxos/names
- Fix compatibility with Composer v2
- Fix incorrect usage of
add_filter()
instead ofadd_action()
4.4.0
- Introduce the
block_editor
argument. - Prevent duplicate taxonomy meta boxes from appearing when the block editor is in use.
- Fix the behaviour when using a dropdown meta box type with a hierarchical taxonomy.
- Fix argument merging when
labels
orrewrite
aren't arrays.
See Recent Changes for Developers for an overview of changes made in recent versions of Extended CPTs that are of interest to developers.
4.3.3
- Show the correct Dashicon in the At a Glance dashboard widget.
- Update some inline docs.
4.3.2
- Switch to disabling the 'Months' dropdown server-side instead of client-side, to prevent its potentially slow query from running.
4.3.1
- Allow an
options
array andoptions
callback for thepost_author
filter. - Allow the
All Authors
option to be selected when there's adefault
value defined. - Switch back to applying the default filter at the admin list screen request level instead of the query level.
See Recent Changes for Developers for an overview of changes made in recent versions of Extended CPTs that are of interest to developers.