WordPress.org

Make WordPress Core

Ticket #12167: theme.diff

File theme.diff, 425 bytes (added by blepoxp, 4 years ago)

Sorry. Here's the .diff version

  • theme.php

     
    711711 */ 
    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(); 
    717718