Ticket #21543: 21543.3.diff
File 21543.3.diff, 647 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/edit-form-advanced.php
157 157 else 158 158 $tax_meta_box_id = $tax_name . 'div'; 159 159 160 add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'side', 'core', array( 'taxonomy' => $tax_name ) ); 160 if ( false !== $taxonomy->meta_box_cb ) 161 add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'side', 'core', array( 'taxonomy' => $tax_name ) ); 161 162 } 162 163 163 164 if ( post_type_supports($post_type, 'page-attributes') )