[wp-trac] [WordPress Trac] #11432: Dashboard Spam link uses wrong action

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 14 19:15:32 UTC 2009


#11432: Dashboard Spam link uses wrong action
--------------------------+-------------------------------------------------
 Reporter:  caesarsgrunt  |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9      
Component:  Trash         |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by caesarsgrunt):

  * keywords:  needs-patch => has-patch


Comment:

 The first patch just fixes the bug by changing the spam link to use the
 {{{spamcomment}}} action.

 The second patch does the same, but also moves the {{{deletecomment}}}
 action into the same function as {{{trashcomment}}}, {{{untrashcomment}}},
 {{{spamcomment}}}, and {{{unspamcomment}}}, since almost all code for it
 was duplicated. I should have merged this when I merged the others
 before....

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11432#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list