[wp-trac] Re: [WordPress Trac] #2734: Nonce confirmation not informative.

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 15 07:47:10 GMT 2006


#2734: Nonce confirmation not informative.
----------------------------+-----------------------------------------------
       Id:  2734            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Jun 15 07:47:10 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  mdawaffe                
----------------------------+-----------------------------------------------
Comment (by ryan):

 Ideally, verb noun pairs would map to a sentence that has the verb and
 noun hardcoded.

 {{{
 __('Are you sure you want to delete category %s')
 }}}

 The nouns and verbs need the context of the entire sentence for proper
 translation.  Also, we should move the nonce decoder and AYS dialog code
 to a separate function so that plugin writers don't have to reproduce all
 of that when providing a custom check_admin_referer().  I have to cut-and-
 paste all of that stuff into the secure-admin plugin even though I just
 want to add one line to the top of the function.

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


More information about the wp-trac mailing list