Changeset 32792 for trunk/src/wp-admin/edit-tags.php
- Timestamp:
- 06/16/2015 04:29:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tags.php
r32642 r32792 303 303 304 304 $class = ( isset( $_REQUEST['error'] ) ) ? 'error' : 'updated'; 305 306 if ( is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ) { 307 $import_link = admin_url( 'admin.php?import=wpcat2tag' ); 308 } else { 309 $import_link = admin_url( 'import.php' ); 310 } 311 305 312 ?> 306 313 … … 348 355 </p> 349 356 <?php if ( current_user_can( 'import' ) ) : ?> 350 <p><?php printf( __('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'import.php') ?></p>357 <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> 351 358 <?php endif; ?> 352 359 </div> 353 360 <?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?> 354 361 <div class="form-wrap"> 355 <p><?php printf( __('Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>.'), 'import.php') ;?></p>362 <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> 356 363 </div> 357 364 <?php endif;
Note: See TracChangeset
for help on using the changeset viewer.