Ticket #16369: 16369.diff
File 16369.diff, 846 bytes (added by , 14 years ago) |
---|
-
wp-admin/tools.php
45 45 if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?> 46 46 <div class="tool-box"> 47 47 <h3 class="title"><?php _e( 'Categories and Tags Converter' ) ?></h3> 48 <p><?php printf( __('<a href="%s">Use this</a> to convert categories to tags or tags to categories.'), 'import.php' ); ?></p> 48 <?php 49 $cat2taglink = is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ? admin_url( 'admin.php?import=wpcat2tag' ) : admin_url( 'import.php' ); 50 printf( '<p>' . __('<a href="%s">Use this</a> to convert categories to tags or tags to categories.'), $cat2taglink ). '<p>'; 51 ?> 49 52 </div> 50 53 <?php 51 54 endif;