Ticket #16053: 16053.2.diff
| File 16053.2.diff, 1.6 KB (added by , 16 years ago) |
|---|
-
wp-admin/includes/class-wp-ms-users-list-table.php
181 181 <br/> 182 182 <?php 183 183 $actions = array(); 184 $actions['edit'] = '<a href="' . esc_url( self_admin_url($edit_link ) ) . '">' . __( 'Edit' ) . '</a>';184 $actions['edit'] = '<a href="' . esc_url( add_query_arg( 'wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), $edit_link ) ) . '">' . __( 'Edit' ) . '</a>'; 185 185 186 186 if ( current_user_can( 'delete_user', $user->ID) && ! in_array( $user->user_login, $super_admins ) ) { 187 187 $actions['delete'] = '<a href="' . $delete = esc_url( network_admin_url( add_query_arg( '_wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), wp_nonce_url( 'edit.php', 'deleteuser' ) . '&action=deleteuser&id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>'; -
wp-admin/user-edit.php
168 168 <div id="message" class="updated"> 169 169 <p><strong><?php _e('User updated.') ?></strong></p> 170 170 <?php if ( $wp_http_referer && !IS_PROFILE_PAGE ) : ?> 171 <p><a href=" users.php"><?php _e('← Back to Authors and Users'); ?></a></p>171 <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php _e('← Back to Authors and Users'); ?></a></p> 172 172 <?php endif; ?> 173 173 </div> 174 174 <?php endif; ?>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)