WordPress.org

Make WordPress Core

Changeset 38753


Ignore:
Timestamp:
10/07/16 20:12:35 (9 months ago)
Author:
ocean90
Message:

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

Fixes #37573.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r38629 r38753  
    7676    <?php if ( $wp_http_referer ) { ?> 
    7777    <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php 
    78         /* translators: %s: taxonomy name */ 
    79         printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name ); 
    80     ?></a></p> 
    81     <?php } else { ?> 
    82     <p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php 
    8378        /* translators: %s: taxonomy name */ 
    8479        printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name ); 
Note: See TracChangeset for help on using the changeset viewer.