Changeset 12690
- Timestamp:
- 01/10/2010 06:29:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-page-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r12682 r12690 80 80 add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', 'page', 'side', 'core'); 81 81 82 // all tag-style page taxonomies 83 foreach ( get_object_taxonomies('page') as $tax_name ) { 84 if ( !is_taxonomy_hierarchical($tax_name) ) { 85 $taxonomy = get_taxonomy($tax_name); 86 $label = isset($taxonomy->label) ? esc_attr($taxonomy->label) : $tax_name; 87 88 add_meta_box('tagsdiv-' . $tax_name, $label, 'post_tags_meta_box', $post_type, 'side', 'core'); 89 } 90 } 91 82 92 if ( post_type_supports($post_type, 'page-attributes') ) 83 93 add_meta_box('pageparentdiv', __('Attributes'), 'page_attributes_meta_box', $post_type, 'side', 'core');
Note: See TracChangeset
for help on using the changeset viewer.