[wp-trac] [WordPress Trac] #18817: WP_List_Table nonce output moved to its own method
WordPress Trac
noreply at wordpress.org
Sat Aug 22 01:36:49 UTC 2015
#18817: WP_List_Table nonce output moved to its own method
-------------------------+----------------------
Reporter: bigdawggi | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 3.2.1
Severity: minor | Resolution: wontfix
Keywords: has-patch | Focuses:
-------------------------+----------------------
Changes (by DrewAPicture):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
I can see the merit in your request, as I've run into a very similar
problem recently and, like you, ended up completely overriding the
`display_tablenav()` method.
In the case of the list table class, it's built in such a way that it's
inherently meant to be overridden and with that structure comes a certain
predictability. I think the best move is to leave it as-is. As you said,
even if we were to relocate the generated nonce to a new method, you'd
still have to override the new one. The problem would become more
localized, yes, but mostly just relocated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18817#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list