From b814963de29ee410533464ca8bc0151493072d52 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 22 Mar 2008 17:40:28 +0000 Subject: [PATCH] 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 --- wp-admin/includes/media.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 1bc4fafcbb..349e905813 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -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: /*