WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/27/2017 02:38:40 PM (2 years ago)
Author:
johnbillion
Message:

Taxonomy: Introduce a back_to_items taxonomy label.

This is used after updating a taxonomy term in the link to return to the term listing screen.

Props benoitchantre

Fixes #41898

File:
1 edited

Legend:

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

    r41522 r41618  
    7676    <?php if ( $wp_http_referer ) { ?>
    7777    <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php
    78         /* translators: %s: taxonomy name */
    79         printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
     78        echo esc_html( $tax->labels->back_to_items );
    8079    ?></a></p>
    8180    <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.