Changeset 14978
- Timestamp:
- 05/27/2010 04:35:11 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r14962 r14978 339 339 <div class="form-wrap"> 340 340 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p> 341 <p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'import.php') ?></p> 342 </div> 343 <?php elseif ( 'post_tag' == $taxonomy ) : ?> 344 <div class="form-wrap"> 345 <p><?php printf(__('Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>'), 'import.php') ;?>.</p> 341 346 </div> 342 347 <?php endif; -
trunk/wp-admin/tools.php
r14966 r14978 38 38 endif; 39 39 40 $cats = get_taxonomy('category'); 41 $tags = get_taxonomy('post_tag'); 42 43 if ( 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 49 endif; 50 40 51 do_action( 'tool_box' ); 41 52 ?>
Note: See TracChangeset
for help on using the changeset viewer.