Changeset 5072 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 03/21/2007 06:23:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r5071 r5072 880 880 $r .= "</td>\n\t\t<td>"; 881 881 if ( current_user_can( 'edit_user', $user_object->ID ) ) { 882 $edit_link = clean_url( add_query_arg( 'wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), "user-edit.php?user_id=$user_object->ID" ));882 $edit_link = add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ); 883 883 $r .= "<a href='$edit_link' class='edit'>".__( 'Edit' )."</a>"; 884 884 }
Note: See TracChangeset
for help on using the changeset viewer.