// all taxonomies
foreach ( get_object_taxonomies( $post ) as $tax_name ) {
$taxonomy = get_taxonomy( $tax_name );
- if ( ! $taxonomy->show_ui )
+ if ( ! $taxonomy->show_ui || false === $taxonomy->meta_box_cb )
continue;
$label = $taxonomy->labels->name;
?>
<div class="wrap">
-<?php screen_icon(); ?>
<h2><?php
echo esc_html( $title );
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) )
/**
* Fires after 'normal' context meta boxes have been output for the 'page' post type.
*
- * @since 1.5.2
+ * @since 1.5.0
*
* @param WP_Post $post Post object.
*/
/**
* Fires after 'normal' context meta boxes have been output for all post types other than 'page'.
*
- * @since 1.5.2
+ * @since 1.5.0
*
* @param WP_Post $post Post object.
*/