Taxonomy: On wp-admin/term.php, don't show a 'Back to' link which links to the current page.

Fixes #37573.

git-svn-id: https://develop.svn.wordpress.org/trunk@38753 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-10-07 20:12:35 +00:00
parent cf14d8a2a2
commit 70ae852c69

View File

@ -78,11 +78,6 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
/* translators: %s: taxonomy name */
printf( _x( '← Back to %s', 'admin screen' ), $tax->labels->name );
?></a></p>
<?php } else { ?>
<p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php
/* translators: %s: taxonomy name */
printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
?></a></p>
<?php } ?>
</div>
<?php endif; ?>