Changeset 12390 for trunk/wp-admin/edit.php
- Timestamp:
- 12/13/2009 01:01:30 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r12308 r12390 194 194 195 195 if ( $user_posts ) { 196 if ( $_GET['author'] == $current_user->ID)196 if ( isset( $_GET['author'] ) && ( $_GET['author'] == $current_user->ID ) ) 197 197 $class = ' class="current"'; 198 198 $status_links[] = "<li><a href='edit.php?author=$current_user->ID'$class>" . sprintf( _nx( 'My Posts <span class="count">(%s)</span>', 'My Posts <span class="count">(%s)</span>', $user_posts_count, 'posts' ), number_format_i18n( $user_posts_count ) ) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.