Making WordPress.org


Ignore:
Timestamp:
01/19/2016 01:45:11 AM (8 years ago)
Author:
dd32
Message:

WordPress.org SSO: Don't use a deprecated function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/wporg-sso/wp-plugin.php

    r2314 r2316  
    159159                return;
    160160            }
    161             $this->_safe_redirect( 'https://wordpress.org/support/profile/' . get_currentuserinfo()->user_login );
     161            $this->_safe_redirect( 'https://wordpress.org/support/profile/' . wp_get_current_user()->user_nicename );
    162162        }
    163163    }
Note: See TracChangeset for help on using the changeset viewer.