diff --git a/src/wp-admin/network/sites.php b/src/wp-admin/network/sites.php
index 402c047312..a6118e7f4d 100644
|
a
|
b
|
if ( isset( $_GET['action'] ) ) { |
| 118 | 118 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> |
| 119 | 119 | <input type="hidden" name="_wp_http_referer" value="<?php echo esc_attr( wp_get_referer() ); ?>" /> |
| 120 | 120 | <?php wp_nonce_field( $site_action . '_' . $id, '_wpnonce', false ); ?> |
| 121 | | <p><?php printf( $manage_actions[ $site_action ], $site_address ); ?></p> |
| 122 | | <?php submit_button( __( 'Confirm' ), 'primary' ); ?> |
| | 121 | <?php |
| | 122 | if ( 'deleteblog' === $site_action ) { |
| | 123 | $submit = __( 'Delete this site permanently' ); |
| | 124 | ?> |
| | 125 | <div class="notice notice-warning inline"> |
| | 126 | <p><?php _e( 'Deleting a site is a permanent action that cannot be undone. This will delete the entire site and its uploads directory.' ); ?> |
| | 127 | </div> |
| | 128 | <?php |
| | 129 | } else { |
| | 130 | $submit = __( 'Confirm' ); |
| | 131 | } |
| | 132 | ?> |
| | 133 | <p><?php printf( $manage_actions[ $site_action ], "<b>{$site_address}</b>" ); ?></p> |
| | 134 | <?php submit_button( $submit, 'primary' ); ?> |
| 123 | 135 | </form> |
| 124 | 136 | </div> |
| 125 | 137 | <?php |