mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@13014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -711,7 +711,8 @@ function get_archive_template() {
|
||||
*/
|
||||
function get_author_template() {
|
||||
$author_id = absint( get_query_var( 'author' ) );
|
||||
$author = get_user_by( 'id', $author_id )->user_nicename;
|
||||
$author = get_user_by( 'id', $author_id );
|
||||
$author = $author->user_nicename;
|
||||
|
||||
$templates = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user