Skip to content

Releases: agencecinq/cinq-wp-admin-filter-by-year

Release list

2.0.1

Choose a tag to compare

@19h47 19h47 released this 20 Oct 14:53

No change in behaviour. Each add_action() or add_filter() now sits above the docblock of the function it hooks, so a function is read with the hook that calls it.

Update the copy in mu-plugins whenever convenient: the plugin works the same.

2.0.0

Choose a tag to compare

@19h47 19h47 released this 17 Oct 13:32
3cf05a5

Breaking change.

2.0.0 names the hook and the functions after the plugin slug, like every CINQ plugin: cinq-wp-admin-filter-by-year gives the cinq_wp_admin_filter_by_year_ prefix. The old names are not kept.

1.x 2.0.0
Filter cinq_admin_filter_by_year_post_types cinq_wp_admin_filter_by_year_post_types
Function cinq_admin_filter_by_year_post_types() cinq_wp_admin_filter_by_year_post_types()
Function cinq_admin_filter_by_year_years() cinq_wp_admin_filter_by_year_years()
Function cinq_admin_filter_by_year_dropdown() cinq_wp_admin_filter_by_year_dropdown()

Rename the filter in add_filter() and remove_filter() calls, and the functions where you call them or unhook them, e.g. remove_action( 'restrict_manage_posts', 'cinq_wp_admin_filter_by_year_dropdown' ).