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:
parent
22ef105581
commit
f0142f35b3
|
@ -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