Skip to content
Browse files

Pass current site to get_current_site function.

Fixes a PHP warning.
  • Loading branch information...
1 parent 6e4c499 commit faae642f2df10a1868473fee5960ff56e91239df @beastaugh committed Nov 1, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/templates/credits.php
View
8 app/templates/credits.php
@@ -1,12 +1,12 @@
<div class="primary content">
<p><?php _e('Powered by <a href="http://wordpress.org/">WordPress</a> and <a href="http://tarskitheme.com/">Tarski</a>', 'tarski');
if (is_multisite()) {
- $current_site = get_current_site_name();
+ $site = get_current_site_name(get_current_site());
printf(__(' | Hosted by %s', 'tarski'),
'<a href="http://' .
- $current_site->domain .
- $current_site->path .
- '">' . $current_site->site_name . '</a>');
+ $site->domain .
+ $site->path .
+ '">' . $site->site_name . '</a>');
} ?></p>
</div>

0 comments on commit faae642

Please sign in to comment.
Something went wrong with that request. Please try again.