Ticket #45756: 45756_2.diff
File 45756_2.diff, 500 bytes (added by , 5 years ago) |
---|
-
src/wp-admin/includes/post.php
1999 1999 * @param mixed $terms Raw term data from the 'tax_input' field. 2000 2000 * @return array 2001 2001 */ 2002 function taxonomy_meta_box_sanitize_cb_checkboxes( $t axonmy, $terms ) {2002 function taxonomy_meta_box_sanitize_cb_checkboxes( $terms ) { 2003 2003 return array_map( 'intval', $terms ); 2004 2004 } 2005 2005