diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 5720b7a7ef..327493f475 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -302,6 +302,13 @@ if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) { } $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' ); +} + ?>
@@ -347,12 +354,12 @@ endif; ?> ?>

-

category to tag converter.'), 'import.php') ?>

+

category to tag converter.' ), esc_url( $import_link ) ) ?>

-

tag to category converter.'), 'import.php') ;?>

+

tag to category converter.' ), esc_url( $import_link ) ) ;?>