Changeset 45926 for trunk/src/wp-admin/network/sites.php
- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r45674 r45926 62 62 // A list of valid actions and their associated messaging for confirmation output. 63 63 $manage_actions = array( 64 /* translators: %s: Site URL */ 64 65 'activateblog' => __( 'You are about to activate the site %s.' ), 66 /* translators: %s: Site URL */ 65 67 'deactivateblog' => __( 'You are about to deactivate the site %s.' ), 68 /* translators: %s: Site URL */ 66 69 'unarchiveblog' => __( 'You are about to unarchive the site %s.' ), 70 /* translators: %s: Site URL */ 67 71 'archiveblog' => __( 'You are about to archive the site %s.' ), 72 /* translators: %s: Site URL */ 68 73 'unspamblog' => __( 'You are about to unspam the site %s.' ), 74 /* translators: %s: Site URL */ 69 75 'spamblog' => __( 'You are about to mark the site %s as spam.' ), 76 /* translators: %s: Site URL */ 70 77 'deleteblog' => __( 'You are about to delete the site %s.' ), 78 /* translators: %s: Site URL */ 71 79 'unmatureblog' => __( 'You are about to mark the site %s as mature.' ), 80 /* translators: %s: Site URL */ 72 81 'matureblog' => __( 'You are about to mark the site %s as not mature.' ), 73 82 ); … … 153 162 $site_address = untrailingslashit( $site->domain . $site->path ); 154 163 155 wp_die( sprintf( __( 'Sorry, you are not allowed to delete the site %s.' ), $site_address ), 403 ); 164 wp_die( 165 sprintf( 166 /* translators: %s: Site URL */ 167 __( 'Sorry, you are not allowed to delete the site %s.' ), 168 $site_address 169 ), 170 403 171 ); 156 172 } 157 173
Note: See TracChangeset
for help on using the changeset viewer.