From de5ab7155ba2c76794d6fc2f0c80a30272cf52b4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Dec 2018 18:03:06 +0000 Subject: [PATCH] Taxonomy: Fix typo in `taxonomy_meta_box_sanitize_cb_checkboxes()` argument name. Props itowhid06. Fixes #45756. git-svn-id: https://develop.svn.wordpress.org/trunk@44367 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index acb43ef758..187c013031 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1999,7 +1999,7 @@ function redirect_post( $post_id = '' ) { * @param mixed $terms Raw term data from the 'tax_input' field. * @return array */ -function taxonomy_meta_box_sanitize_cb_checkboxes( $taxonmy, $terms ) { +function taxonomy_meta_box_sanitize_cb_checkboxes( $taxonomy, $terms ) { return array_map( 'intval', $terms ); }