Make WordPress Core


Ignore:
Timestamp:
05/27/2010 04:35:11 AM (15 years ago)
Author:
nacin
Message:

Revert [14853], [14778], returning tag/cat converter to tools.php and edit-tags.php. Link to import.php instead of the converter directly as it may not be installed. see #13566.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/tools.php

    r14966 r14978  
    3838endif;
    3939
     40$cats = get_taxonomy('category');
     41$tags = get_taxonomy('post_tag');
     42
     43if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?>
     44<div class="tool-box">
     45    <h3 class="title"><?php _e( 'Categories and Tags Converter' ) ?></h3>
     46    <p><?php printf( __('<a href="%s">Use this</a> to convert categories to tags or tags to categories</a>.'), 'import.php' ); ?></p>
     47</div>
     48<?php
     49endif;
     50
    4051do_action( 'tool_box' );
    4152?>
Note: See TracChangeset for help on using the changeset viewer.