[wp-trac] [WordPress Trac] #18817: WP_List_Table nonce output moved to its own method

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 17:55:33 UTC 2011


#18817: WP_List_Table nonce output moved to its own method
-------------------------+-----------------------------
 Reporter:  bigdawggi    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.2.1
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 A quick little patch to move the nonce field generation and output to its
 own field.  I ran across a need for this when implementing the class on a
 postmeta box on the post edit screen.  Both the post edit form and the
 WP_List_Table class were outputting a nonce field using the name
 "_wpnonce".  Upon submission this was prohibiting the post from saving.

 I had to override the entire display_tablenav method whereas if the output
 of the nonce was its own method, I could override it there and change the
 name of the field it was outputting.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18817>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list