﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
12167,Syntax Error in PHP4,blepoxp,westi,"Steps to reproduce:[[BR]]
1) Load WordPress trunk (r. 13013) in PHP4[[BR]]
2) Observe following error on screen:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /Applications/MAMP/htdocs/wptrunk/wp-includes/theme.php on line 714

It appears that the arrow is causing the problem

{{{
$author = get_user_by( 'id', $author_id )->user_nicename;
}}}

I fixed by doing the following:

{{{
$author = get_user_by( 'id', $author_id );
$author = $author->user_nicename;
}}}
",defect (bug),closed,normal,3.0,Warnings/Notices,3.0,normal,fixed,has-patch tested,
