Make WordPress Core

Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#17615 closed defect (bug) (invalid)

WP_List_Table::get_columns does not work for plugins

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

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
15 years ago

  • Cc cyplo@… added

#2 @westi
15 years ago

  • Milestone Awaiting ReviewFuture Release
  • Owner set to westi
  • Status newassigned

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
15 years ago

  • Cc deleau@… added

#4 @chriscct7
12 years ago

  • Resolutioninvalid
  • Status assignedclosed

_ 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
12 years ago

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