register_taxonomy seems crippled and useless, but let's try it anyway.

git-svn-id: https://develop.svn.wordpress.org/trunk@7475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2008-03-22 17:40:28 +00:00
parent 22ef105581
commit f0142f35b3
1 changed files with 10 additions and 0 deletions

View File

@ -1226,6 +1226,16 @@ add_filter('media_upload_library', 'media_upload_library');
add_action('admin_head_media_upload_library_form', 'media_admin_css');
register_taxonomy(
'image_tags',
'attachment:image',
array(
'label' => __('Tags'),
'template' => __('Tags: %l'),
'sort' => false,
)
);
// Any 'attachment' taxonomy will be included in the description input form for the multi uploader
// Example:
/*