Make WordPress Core


Ignore:
Timestamp:
10/09/2010 05:25:09 AM (14 years ago)
Author:
dd32
Message:

Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar/admin-bar-class.php

    r15746 r15760  
    2020        } else {
    2121            $this->user->active_blog = $this->user->blogs[$blog_id];
    22             $this->user->domain = home_url();
    23             $this->user->account_domain = home_url();
     22            $this->user->domain = trailingslashit( home_url() );
     23            $this->user->account_domain = $this->user->domain;
    2424        }
    2525        $this->user->locale = get_locale();
Note: See TracChangeset for help on using the changeset viewer.