Changeset 27416
- Timestamp:
- 03/05/2014 07:19:52 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/users.php
r26518 r27416 23 23 ?> 24 24 <h2><?php esc_html_e( 'Users' ); ?></h2> 25 <p><?php _e( 'Transfer or delete postsbefore deleting users.' ); ?></p>25 <p><?php _e( 'Transfer or delete content before deleting users.' ); ?></p> 26 26 <form action="users.php?action=dodelete" method="post"> 27 27 <input type="hidden" name="dodelete" /> … … 46 46 if ( !empty( $blogs ) ) { 47 47 ?> 48 <br /><fieldset><p><legend><?php printf( __( "What should be done with postsowned by <em>%s</em>?" ), $delete_user->user_login ); ?></legend></p>48 <br /><fieldset><p><legend><?php printf( __( "What should be done with content owned by <em>%s</em>?" ), $delete_user->user_login ); ?></legend></p> 49 49 <?php 50 50 foreach ( (array) $blogs as $key => $details ) { … … 66 66 <li><?php printf( __( 'Site: %s' ), $user_site ); ?></li> 67 67 <li><label><input type="radio" id="delete_option0" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="delete" checked="checked" /> 68 <?php _e( 'Delete all posts.' ); ?></label></li>68 <?php _e( 'Delete all content.' ); ?></label></li> 69 69 <li><label><input type="radio" id="delete_option1" name="delete[<?php echo $details->userblog_id . '][' . $delete_user->ID ?>]" value="reassign" /> 70 <?php echo __( 'Attribute all poststo:' ) . '</label>' . $user_dropdown; ?></li>70 <?php echo __( 'Attribute all content to:' ) . '</label>' . $user_dropdown; ?></li> 71 71 </ul> 72 72 <?php -
trunk/src/wp-admin/users.php
r27369 r27416 44 44 45 45 if ( is_multisite() ) 46 $help .= '<li>' . __( 'Remove allows you to remove a user from your site. It does not delete their posts. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>';46 $help .= '<li>' . __( 'Remove allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>'; 47 47 else 48 $help .= '<li>' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>';48 $help .= '<li>' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '</li>'; 49 49 50 50 $help .= '</ul>'; … … 241 241 </ul> 242 242 <?php if ( $go_delete ) : ?> 243 <fieldset><p><legend><?php echo _n( 'What should be done with posts owned by this user?', 'What should be done with postsowned by these users?', $go_delete ); ?></legend></p>243 <fieldset><p><legend><?php echo _n( 'What should be done with content owned by this user?', 'What should be done with content owned by these users?', $go_delete ); ?></legend></p> 244 244 <ul style="list-style:none;"> 245 245 <li><label><input type="radio" id="delete_option0" name="delete_option" value="delete" /> 246 <?php _e('Delete all posts.'); ?></label></li>246 <?php _e('Delete all content.'); ?></label></li> 247 247 <li><input type="radio" id="delete_option1" name="delete_option" value="reassign" /> 248 <?php echo '<label for="delete_option1">' . __( 'Attribute all poststo:' ) . '</label> ';248 <?php echo '<label for="delete_option1">' . __( 'Attribute all content to:' ) . '</label> '; 249 249 wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?></li> 250 250 </ul></fieldset>
Note: See TracChangeset
for help on using the changeset viewer.