Make WordPress Core


Ignore:
Timestamp:
03/30/2010 07:13:38 PM (14 years ago)
Author:
ryan
Message:

Use get_home_url() and get_admin_url(). Props andreasnrb. see #12736

File:
1 edited

Legend:

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

    r13884 r13896  
    712712                    if ( $primary_blog == $blog->userblog_id )
    713713                        $found = true;
    714                     ?><option value='<?php echo $blog->userblog_id ?>'<?php if ( $primary_blog == $blog->userblog_id ) echo ' selected="selected"' ?>>http://<?php echo $blog->domain.$blog->path ?></option><?php
     714                    ?><option value='<?php echo $blog->userblog_id ?>'<?php if ( $primary_blog == $blog->userblog_id ) echo ' selected="selected"' ?>><?php echo get_home_url($blog->userblog_id) ?></option><?php
    715715                } ?>
    716716            </select>
Note: See TracChangeset for help on using the changeset viewer.