Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#27346 closed defect (bug) (fixed)

Remove redundancy of inline docs in class-wp-list-table.php

Reported by: bravokeyl Owned by: SergeyBiryukov
Priority: normal Milestone: 3.9
Component: Administration Version:
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description

I don't know whether it is intentionally there or not but removing the top one

/**
 * Base class for displaying a list of items in an ajaxified HTML table.
 *
 * @package WordPress
 * @subpackage List_Table
 * @since 3.1.0
 */

/**
 * Base class for displaying a list of items in an ajaxified HTML table.
 *
 * @package WordPress
 * @subpackage List_Table
 * @since 3.1.0
 * @access private
 */

Attachments (1)

27346.patch​ (481 bytes ) - added by bravokeyl 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @kpdesign
13 years ago

  • Component General → Administration
  • Keywords has-patch added
  • Type enhancement → defect (bug)
  • Version 3.8.1

#2 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review → 3.9

Introduced in [15958] (where the file also contained a few helper functions) and [16127] (where the functions were moved into a separate file).

#3 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 27502:

Remove duplicate description of WP_List_Table class.

props bravokeyl.
fixes #27346.

#4 @DrewAPicture
13 years ago

  • Resolution fixed
  • Status closed → reopened

Whether to defer to class-level docblocks instead of all files having a file header has not been decided. On the one hand, yes it seems like duplication, however the blocks serve different purposes.

I've added this to the agenda for tomorrow's inline docs chat at 19:00 UTC in #wordpress-sfd

Last edited 13 years ago by DrewAPicture (previous) (diff)

#5 @DrewAPicture
13 years ago

  • Resolution → fixed
  • Status reopened → closed

The decision was made for all functional files to retain their file headers. We'll restore a modified version of the file header here when we cover the other list table classes. Reclosing.

Note: See TracTickets for help on using tickets.