Changeset 31188 for trunk/src/wp-includes/template.php
- Timestamp:
- 01/16/2015 01:05:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r31090 r31188 136 136 $templates = array(); 137 137 138 if ( is_a( $author, 'WP_User' )) {138 if ( $author instanceof WP_User ) { 139 139 $templates[] = "author-{$author->user_nicename}.php"; 140 140 $templates[] = "author-{$author->ID}.php";
Note: See TracChangeset
for help on using the changeset viewer.