Title: Bug fix
Last modified: August 21, 2016

---

# Bug fix

 *  [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/bug-fix-5/)
 * With WP_DEBUG true I’m getting a warning that is solved by the following change.
 *     ```
       public function pre_user_nicename( $name ) {
   
       		if ( isset( $_REQUEST['display_name'] ) ) {
       			return sanitize_title( $_REQUEST['display_name'] );
       		}
       		return $name;
       	}
       ```
   
 * In this case `if ( $_REQUEST['display_name'] )` is changed to `if ( isset( $_REQUEST['
   display_name'] ) )`
 * I noted this in a WP 3.6 Multisite installation.
 * [http://wordpress.org/plugins/wp-author-slug/](http://wordpress.org/plugins/wp-author-slug/)

The topic ‘Bug fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-author-slug_2b292a.svg)
 * [WP Author Slug](https://wordpress.org/plugins/wp-author-slug/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-author-slug/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-author-slug/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-author-slug/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-author-slug/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/bug-fix-5/)
 * Status: not resolved