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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-03-22 17:40:28 +00:00
parent fc2ee8bd18
commit b814963de2

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:
/*