WordPress.org

Make WordPress Core

Changeset 13014


Ignore:
Timestamp:
02/07/10 21:07:35 (4 years ago)
Author:
westi
Message:

Ensure we are PHP4 compat. Fixes #12167 props blepoxp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r12915 r13014  
    712712function get_author_template() { 
    713713    $author_id = absint( get_query_var( 'author' ) ); 
    714     $author = get_user_by( 'id', $author_id )->user_nicename; 
     714    $author = get_user_by( 'id', $author_id ); 
     715    $author = $author->user_nicename; 
    715716 
    716717    $templates = array(); 
Note: See TracChangeset for help on using the changeset viewer.