Releases: johnbillion/extended-cpts
Releases · johnbillion/extended-cpts
3.2.1
3.2.0
- Fix bug with p2p admin columns
- Fix to allow for 'date_format' to be used on 'post_field' date columns.
- Exclude non-essential files in
.gitattributes
3.1.0
- Add the
view_items
andattributes
labels added in WordPress 4.7. - Add an action after the extended CPT instance is set up, to allow access to the instance from elsewhere.
3.0.3
- Remove
stdClass
type hinting to support theWP_Post_Type
class introduced in WP 4.6. - Ensure the value passed to the
default_{$tax}
filter is a string by default.
3.0.2
- Correctly escape the URL used in the At A Glance dashboard widget.
3.0.1
- Add some missing escaping and make some code standards tweaks.
3.0.0
- Bump the minimum supported WordPress version to 4.4.
- Extended CPTs no longer contains a plugin header, reinforcing the fact this is a developer library.
- Allow the
options
parameter of the admin filters to be an associative array of values and their labels. - Update the rewrite rule tests to work in WordPress 4.4.
- Remove the functionality which adds post type archives to nav menus as this is natively supported in WordPress 4.4.
- Implement a workaround for WordPress core bug #35089.
2.5.2
- Fix admin columns for P2P connections.
- Fix featured image box when extending core post types
- Avoid referencing non-existent permastructs when extending built-in post types.
2.5.1
- More sanity checking for invalid P2P connection types.
- Avoid a PHP notice when a query uses
orderby
withoutorder
. - Add a caching wrapper for column generation, as this gets called multiple times on a post listing screen.
- Add a caching wrapper for
p2p_connection_exists()
which gets called multiple times and which performs a database query on every call. - Implement post type labels introduced in WordPress 4.4.
2.5
- Bump the minimum supported WordPress version to 4.3.
- Bump the minimum supported PHP version to 5.4.
- Remove
archive_in_nav_menus
as an option. The 'All' menu item should always be shown whenhas_archive
is true. - Implement featured image post type labels.
- Allow the
%postname%
token in custom permastructs. - Conditionally set the default value of
has_archive
depending on the value ofpublic
. - Correct the sort order for site queries with a default sort specified.
- Code tweaks courtesy of Scrutinizer and WPCS.
- Escaping!
- Clean up some docblocks.