WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#34046 closed defect (bug) (invalid)

WP_Comments_List_Table - duplicate comments block

Reported by: tyxla Owned by: DrewAPicture
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: Administration Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

There appears to be a duplicate doc block for WP_Comments_List_Table in wp-admin/includes/class-wp-comments-list-table.php, it appears to have been there for a while - it was added in [15958].

Attachments (1)

34046.patch (562 bytes) - added by tyxla 4 years ago.
Remove duplicated doc block for WP_Comments_List_Table in wp-admin/includes/class-wp-comments-list-table.php

Download all attachments as: .zip

Change History (4)

@tyxla
4 years ago

Remove duplicated doc block for WP_Comments_List_Table in wp-admin/includes/class-wp-comments-list-table.php

#1 @tyxla
4 years ago

  • Keywords has-patch added

#2 @DrewAPicture
4 years ago

  • Owner set to DrewAPicture
  • Status changed from new to reviewing

#3 @DrewAPicture
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from reviewing to closed

Hi @tyxla,

This actually isn't an error, it's just that the summaries in the file header and the class DocBlock need to be improved to differentiate them. Each file in WordPress is supposed to have its own file header, and that's separate from the class header. See the inline docs standard for more on this. See #33701 for the work being done to improve file headers.

Note: See TracTickets for help on using tickets.