Skip to content

Commit

Permalink
Merge pull request #34 from szepeviktor/patch-2
Browse files Browse the repository at this point in the history
Remove parameter typehint from delete_term
  • Loading branch information
jeremyfelt authored Sep 13, 2023
2 parents 14c31ff + ecab5e1 commit 72bc994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function sync_shadow_taxonomies( int $post_id, \WP_Post $post_after, bool $updat
* @param int $post_id The post ID.
* @param \WP_Post $post The post object.
*/
function delete_term( int $post_id, \WP_Post $post ): void {
function delete_term( $post_id, \WP_Post $post ): void {
if ( ! post_type_supports( $post->post_type, 'shadow-terms' ) ) {
return;
}
Expand Down

0 comments on commit 72bc994

Please sign in to comment.