[wp-trac] [WordPress Trac] #42692: Unused static variable $column_headers
WordPress Trac
noreply at wordpress.org
Fri Nov 24 19:17:24 UTC 2017
#42692: Unused static variable $column_headers
--------------------------+------------------------------
Reporter: jlambe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: close | Focuses: administration
--------------------------+------------------------------
Changes (by jlambe):
* keywords: => close
Comment:
Without removing the `static` keyword, we were able to draw the table
correctly by using an action hook `load-{$page_hook}` from the `wp-
admin/admin.php` file.
When rendering our page with the later hook `$page_hook`, the issue
persists. Because of the requirement of the admin header php file, we were
not sure we could use the hook and trigger errors by rendering some
content too early in the process.
I still would like some insights on this but the issue can be closed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42692#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list