Make WordPress Core

Changeset 12311


Ignore:
Timestamp:
12/01/2009 10:05:03 PM (16 years ago)
Author:
azaozz
Message:

Swap Spam and Trash in comment action links, fixes #11258

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r12287 r12311  
    532532    $actions_string = '';
    533533    if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    534         // preorder it: Approve | Reply | Edit | Trash | Spam
     534        // preorder it: Approve | Reply | Edit | Spam | Trash
    535535        $actions = array(
    536536            'approve' => '', 'unapprove' => '',
    537537            'reply' => '',
    538538            'edit' => '',
    539             'trash' => '', 'delete' => '',
    540             'spam' => ''
     539            'spam' => '',
     540            'trash' => '', 'delete' => ''
    541541        );
    542542
  • trunk/wp-admin/includes/template.php

    r12289 r12311  
    21612161
    21622162                if ( $user_can ) {
    2163                     // preorder it: Approve | Reply | Quick Edit | Edit | Trash | Spam
     2163                    // preorder it: Approve | Reply | Quick Edit | Edit | Spam | Trash
    21642164                    $actions = array(
    21652165                        'approve' => '', 'unapprove' => '',
     
    21672167                        'quickedit' => '',
    21682168                        'edit' => '',
    2169                         'trash' => '', 'untrash' => '', 'delete' => '',
    2170                         'spam' => '', 'unspam' => ''
     2169                        'spam' => '', 'unspam' => '',
     2170                        'trash' => '', 'untrash' => '', 'delete' => ''
    21712171                    );
    21722172
Note: See TracChangeset for help on using the changeset viewer.