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
This commit is contained in:
parent
f2db5d2bb2
commit
de5ab7155b
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user