Changeset 56570 for trunk/src/wp-admin/edit-tag-form.php
- Timestamp:
- 09/14/2023 12:52:45 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r54240 r56570 80 80 81 81 if ( $message ) { 82 ?> 83 <div id="message" class="notice notice-<?php echo $class; ?>"> 84 <p><strong><?php echo $message; ?></strong></p> 85 <?php if ( $wp_http_referer ) { ?> 86 <p><a href="<?php echo esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"> 87 <?php echo esc_html( $tax->labels->back_to_items ); ?> 88 </a></p> 89 <?php } ?> 90 </div> 91 <?php 82 $message = '<p><strong>' . $message . '</strong></p>'; 83 if ( $wp_http_referer ) { 84 $message .= '<p><a href="' . esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ) . '">' . esc_html( $tax->labels->back_to_items ) . '</a></p>'; 85 } 86 wp_admin_notice( 87 $message, 88 array( 89 'type' => $class, 90 'id' => 'message', 91 'paragraph_wrap' => false, 92 ) 93 ); 92 94 } 93 95 ?>
Note: See TracChangeset
for help on using the changeset viewer.