Skip to content

Commit

Permalink
Remove reference to the cat to tag converter #104
Browse files Browse the repository at this point in the history
  • Loading branch information
markkap committed Dec 18, 2018
1 parent 2e2c7f1 commit dc8e204
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/wp-admin/edit-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,6 @@

$class = ( isset( $_REQUEST['error'] ) ) ? 'error' : 'updated';

if ( is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ) {
$import_link = admin_url( 'admin.php?import=wpcat2tag' );
} else {
$import_link = admin_url( 'import.php' );
}

?>

<div class="wrap nosubsub">
Expand Down Expand Up @@ -503,14 +497,6 @@
echo __( 'Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category will be without a category.' );
?>
</p>
<?php if ( current_user_can( 'import' ) ) : ?>
<p><?php printf( __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), esc_url( $import_link ) ) ?></p>
<?php endif; ?>
</div>
<?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?>
<div class="form-wrap edit-term-notes">
<p><?php printf( __( 'Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.' ), esc_url( $import_link ) ) ;?></p>
</div>
<?php endif;

/**
Expand Down

0 comments on commit dc8e204

Please sign in to comment.