WordPress.org

Make WordPress Core

Ticket #44697: 44697-1.diff

File 44697-1.diff, 701 bytes (added by subrataemfluence, 3 years ago)
  • user.php

    diff --git wp-includes/user.php b/user.php
    index 4ebcf82..4cabbaa 100755
    old new function count_users( $strategy = 'time', $site_id = null ) { 
    986986 * @global string  $user_url      The url in the user's profile
    987987 * @global string  $user_identity The display name of the user
    988988 *
    989  * @param int $for_user_id Optional. User ID to set up global data.
     989 * @param int      $for_user_id  Optional. User ID to set up global data.
    990990 */
    991 function setup_userdata( $for_user_id = '' ) {
     991function setup_userdata( $for_user_id = 0 ) {
    992992        global $user_login, $userdata, $user_level, $user_ID, $user_email, $user_url, $user_identity;
    993993
    994994        if ( '' == $for_user_id ) {