WordPress.org

Make WordPress Core

Changeset 38633


Ignore:
Timestamp:
09/20/16 19:54:26 (12 months ago)
Author:
ocean90
Message:

Multisite: Show always domain and path when deleting a site.

Add a missing translators comment.

Props ian.edington.
Fixes #37309.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/ms-delete-site.php

    r38032 r38633  
    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 
     89            printf( 
     90                /* translators: %s: site address */ 
     91                __( "I'm sure I want to permanently disable my site, and I am aware I can never get it back or use %s again." ), 
     92                $blog->domain . $blog->path 
     93            ); 
     94        ?></strong></label></p> 
    8995        <?php submit_button( __( 'Delete My Site Permanently' ) ); ?> 
    9096    </form> 
Note: See TracChangeset for help on using the changeset viewer.