Make WordPress Core

Opened 14 years ago

Closed 10 years ago

Last modified 10 years ago

#17615 closed defect (bug) (invalid)

WP_List_Table::get_columns does not work for plugins

Reported by: cyplo's profile cyplo Owned by: westi's profile westi
Milestone: Priority: normal
Severity: normal Version: 3.1.3
Component: Plugins Keywords:
Focuses: Cc:

Description

see Ticket #15386 - the ticket is closed, however I have the very same problem with 3.1.3 version and the solution example provided do not work for me.

Wordpress claims that there is no function as get_list_table , I have changed it to _get_list_table, after that change it does launch but returns a null object.

Change History (5)

#1 @cyplo
14 years ago

  • Cc cyplo@… added

#2 @westi
14 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Owner set to westi
  • Status changed from new to assigned

We do not support custom list table classes at the moment which is why there are no hooks for this.

When we have a stable api for them they will be supported - this was meant to happen in 3.2 but it missed the release unfortunately.

#3 @cogmios
14 years ago

  • Cc deleau@… added

#4 @chriscct7
10 years ago

  • Resolution set to invalid
  • Status changed from assigned to closed

_ prefixed functions are private to the class. If you need a copy of the list table, the best current way of doing this is grabbing a copy of that list table file, moving it to your plugin then renaming it for now. Since the lack of a return on a private function is expected, closing as invalid.

#5 @DrewAPicture
10 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.