Ticket #12736: 12736.1.patch
File 12736.1.patch, 1.7 KB (added by , 15 years ago) |
---|
-
wp-admin/includes/ms.php
711 711 <?php foreach( (array) $all_blogs as $blog ) { 712 712 if ( $primary_blog == $blog->userblog_id ) 713 713 $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><?php714 ?><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 715 715 } ?> 716 716 </select> 717 717 <?php -
wp-admin/my-sites.php
68 68 $t = $t == 'border-right: 1px solid #ccc;' ? '' : 'border-right: 1px solid #ccc;'; 69 69 echo "<td valign='top' style='$t; width:50%'>"; 70 70 echo "<h3>{$user_blog->blogname}</h3>"; 71 echo "<p>" . apply_filters( "myblogs_blog_actions", "<a href=' {$user_blog->siteurl}'>" . __( 'Visit' ) . "</a> | <a href='{$user_blog->siteurl}/wp-admin/'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>";71 echo "<p>" . apply_filters( "myblogs_blog_actions", "<a href='".get_home_url($user_blog->userblog_id)."'>" . __( 'Visit' ) . "</a> | <a href='".get_admin_url($user_blog->userblog_id)."'>" . __( 'Dashboard' ) . "</a>", $user_blog ) . "</p>"; 72 72 echo apply_filters( 'myblogs_options', '', $user_blog ); 73 73 echo "</td>"; 74 74 }