diff --git src/wp-admin/edit-tag-form.php src/wp-admin/edit-tag-form.php
index d9658bb..0c455df 100644
|
|
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
70 | 70 | <div class="wrap"> |
71 | 71 | <h1><?php echo $tax->labels->edit_item; ?></h1> |
72 | 72 | |
73 | | <?php if ( $message ) : ?> |
74 | | <div id="message" class="updated"> |
75 | | <p><strong><?php echo $message; ?></strong></p> |
| 73 | <?php |
| 74 | $class = ( isset( $msg ) && 5 === $msg ) ? 'notice-error' : 'notice-updated'; |
| 75 | if ( $message ) { |
| 76 | ?> |
| 77 | <div id="message" class="<?php echo esc_attr( $class ); ?>"> |
| 78 | <p><strong><?php echo esc_html( $message ); ?></strong></p> |
76 | 79 | <?php if ( $wp_http_referer ) { ?> |
77 | 80 | <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"> |
78 | | <?php |
79 | | echo esc_html( $tax->labels->back_to_items ); |
80 | | ?> |
| 81 | <?php echo esc_html( $tax->labels->back_to_items ); ?> |
81 | 82 | </a></p> |
82 | 83 | <?php } ?> |
83 | 84 | </div> |
84 | | <?php endif; ?> |
| 85 | <?php |
| 86 | } |
| 87 | ?> |
85 | 88 | |
86 | 89 | <div id="ajax-response"></div> |
87 | 90 | |