[wp-trac] [WordPress Trac] #15386: WP_List_Table::get_columns does not work for plugins
WordPress Trac
noreply at wordpress.org
Sat Dec 10 03:24:51 UTC 2022
#15386: WP_List_Table::get_columns does not work for plugins
--------------------------------------+------------------------------
Reporter: ptahdunbar | Owner: scribu
Type: defect (bug) | Status: reopened
Priority: high | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: major | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by bgoewert):
== Test Report
Patch tested: [https://github.com/WordPress/wordpress-develop/pull/3735 PR
3735]
=== Environment
* OS: Pop!_OS 22.04
* Localhost: wordpress-develop & Docker Desktop
* WordPress: trunk
* Browser: Firefox 107, Chrome 108, GNOME Web 43 (WebKit 2.38.1)
* Theme: Twenty Twenty-Two
* Active Plugins: [https://core.trac.wordpress.org/attachment/ticket/15386
/my-list-table-plugin-15386.php my-list-table-plugin-15386.php]
=== Steps to Reproduce
1. Download and install
[https://core.trac.wordpress.org/attachment/ticket/15386/my-list-table-
plugin-15386.php my-list-table-plugin-15386.php].
1. Ensure there is at lease one comment.
1. Navigate to `/wp-admin/options-general.php?page=test`
1. Notice that the table displays without any headers or rows.
1. Apply or Checkout [https://github.com/WordPress/wordpress-
develop/pull/3735 PR 3735].
1. Refresh the test page `/wp-admin/options-general.php?page=test`
=== Expected Results
- Table list displays comment headers and rows.
=== Actual Results
- ✅ Issue resolved with patch.
=== Supplemental Artifacts
//Before applying patch//
[[Image(https://i.imgur.com/JTGBym1.png)]]
//After applying patch//
[[Image(https://i.imgur.com/m8WvJnH.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15386#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list