- Timestamp:
- 04/01/2015 04:17:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r31890 r31959 184 184 $status_links['mine'] = "<a href='edit.php?post_type=$post_type&author=$current_user_id'$class>" . sprintf( _nx( 'Mine <span class="count">(%s)</span>', 'Mine <span class="count">(%s)</span>', $this->user_posts_count, 'posts' ), number_format_i18n( $this->user_posts_count ) ) . '</a>'; 185 185 $allposts = '&all_posts=1'; 186 $class = ''; 186 187 } 187 188 … … 192 193 $total_posts -= $num_posts->$state; 193 194 194 if ( empty( $class ) && $this->is_base_request() ) {195 if ( empty( $class ) && $this->is_base_request() && ! $this->user_posts_count ) { 195 196 $class = ' class="current"'; 196 197 }
Note: See TracChangeset
for help on using the changeset viewer.