Bug fix
-
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 toif ( isset( $_REQUEST['display_name'] ) )
I noted this in a WP 3.6 Multisite installation.
- The topic ‘Bug fix’ is closed to new replies.