Opened 3 years ago
Closed 3 years ago
#55131 closed enhancement (duplicate)
Non static method 'get_default_primary_column_name' should not be called statically
Reported by: | azouamauriac | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Some histories : [33266] [49192]
WP_List_Table::get_default_primary_column_name() is not a static method so it shouldn't be use as it.
I suggest that we instantiate the class before using the method
My proposal:
<?php $list_table = new self(); $default = $list_table->get_default_primary_column_name();
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome back to WordPress Trac!
Thanks for the report, we're already tracking this issue in #53978.