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:
parent
fc2ee8bd18
commit
b814963de2
|
@ -1226,6 +1226,16 @@ add_filter('media_upload_library', 'media_upload_library');
|
||||||
add_action('admin_head_media_upload_library_form', 'media_admin_css');
|
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
|
// Any 'attachment' taxonomy will be included in the description input form for the multi uploader
|
||||||
// Example:
|
// Example:
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue