Opened 12 years ago
Closed 11 years ago
#23122 closed enhancement (fixed)
inline doc improvements in WP_Filesystem_Direct and WP_List_Table
Reported by: | bananastalktome | Owned by: | |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | trivial | Version: | 3.5 |
Component: | Inline Docs | Keywords: | has-patch |
Focuses: | Cc: |
Description
A pass over WP_Filesystem_Direct
and WP_List_Table
classes to improve inline docs. Any suggestions/improvements/critiques are welcomed.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I suggest this at Line 576 in wp-admin/includes/class-wp-list-table.php
The problem with the first format is that print_column_headers() expects an array at line 686:
The first format is OK when it is rolled into an array by get_column_info(), but if you set _column_headers explicitly, then get_column_info() is bypassed. This is the approach taken by the API example plugin http://wordpress.org/extend/plugins/custom-list-table-example/ , which does use the correct second format.