WordPress.org

Make WordPress Core

Ticket #37309: ms-delete-site.diff

File ms-delete-site.diff, 1.1 KB (added by ian.edington, 3 years ago)

Patch ms-delete-site to remove conditional

  • src/wp-admin/ms-delete-site.php

    diff --git src/wp-admin/ms-delete-site.php src/wp-admin/ms-delete-site.php
    index 53b26b9..9ea380b 100644
    Webmaster 
    8585        <form method="post" name="deletedirect">
    8686                <?php wp_nonce_field( 'delete-blog' ) ?>
    8787                <input type="hidden" name="action" value="deleteblog" />
    88                 <p><input id="confirmdelete" type="checkbox" name="confirmdelete" value="1" /> <label for="confirmdelete"><strong><?php printf( __( "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %s again." ), is_subdomain_install() ? $blog->domain : $blog->domain . $blog->path ); ?></strong></label></p>
     88                <p><input id="confirmdelete" type="checkbox" name="confirmdelete" value="1" /> <label for="confirmdelete"><strong><?php printf( __( "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %1$s again." ), $blog->domain . $blog->path ); ?></strong></label></p>
    8989                <?php submit_button( __( 'Delete My Site Permanently' ) ); ?>
    9090        </form>
    9191        <?php