Permalink
Browse files

Merge pull request #487 from weslly/master

Fix lowercase reference to $WP_User->ID on roots_entry_meta()
  • Loading branch information...
2 parents e1fade2 + e189a88 commit 92ae9bcf0667ebc0a172dcdcaf31318c701dd07f @swalkinshaw swalkinshaw committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/template-tags.php
@@ -3,5 +3,5 @@
// Return post entry meta information
function roots_entry_meta() {
echo '<time class="updated" datetime="'. get_the_time('c') .'" pubdate>'. sprintf(__('Posted on %s at %s.', 'roots'), get_the_date(), get_the_time()) .'</time>';
- echo '<p class="byline author vcard">'. __('Written by', 'roots') .' <a href="'. get_author_posts_url(get_the_author_meta('id')) .'" rel="author" class="fn">'. get_the_author() .'</a></p>';
+ echo '<p class="byline author vcard">'. __('Written by', 'roots') .' <a href="'. get_author_posts_url(get_the_author_meta('ID')) .'" rel="author" class="fn">'. get_the_author() .'</a></p>';
}

0 comments on commit 92ae9bc

Please sign in to comment.