[wp-trac] [WordPress Trac] #35518: Dashboard page: No "view" link for approved comment

WordPress Trac noreply at wordpress.org
Mon Jan 18 23:21:43 UTC 2016


#35518: Dashboard page: No "view" link for approved comment
--------------------------+---------------------------------------------
 Reporter:  antonrinas    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  4.4.1
 Severity:  trivial       |  Resolution:
 Keywords:                |     Focuses:  ui, javascript, administration
--------------------------+---------------------------------------------
Changes (by afercia):

 * focuses:  ui, administration => ui, javascript, administration


Comment:

 Currently, the "View" action link gets printed out only for approved
 comments (approved at page load), see in
 `_wp_dashboard_recent_comments_row()`
 {{{
 if ( '1' === $comment->comment_approved ) {
         $actions['view'] = '<a class="comment-link" href=" ...
 }
 }}}
 it should probably be always printed out and then dynamically
 displayed/hidden.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35518#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list