Make WordPress Core

Changeset 7475


Ignore:
Timestamp:
03/22/2008 05:40:28 PM (16 years ago)
Author:
matt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r7466 r7475  
    12271227
    12281228
     1229register_taxonomy(
     1230    'image_tags',
     1231    'attachment:image',
     1232    array(
     1233        'label' => __('Tags'),
     1234        'template' => __('Tags: %l'),
     1235        'sort' => false,
     1236    )
     1237);
     1238
    12291239// Any 'attachment' taxonomy will be included in the description input form for the multi uploader
    12301240// Example:
Note: See TracChangeset for help on using the changeset viewer.