Changeset 12287 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/27/2009 12:57:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r12286 r12287 2159 2159 <?php 2160 2160 } 2161 $actions = array();2162 2161 2163 2162 if ( $user_can ) { 2163 // preorder it: Approve | Reply | Quick Edit | Edit | Trash | Spam 2164 $actions = array( 2165 'approve' => '', 'unapprove' => '', 2166 'reply' => '', 2167 'quickedit' => '', 2168 'edit' => '', 2169 'trash' => '', 'untrash' => '', 'delete' => '', 2170 'spam' => '', 'unspam' => '' 2171 ); 2172 2164 2173 if ( $comment_status && 'all' != $comment_status ) { // not looking at all comments 2165 2174 if ( 'approved' == $the_comment_status ) … … 2193 2202 } 2194 2203 2195 $actions = apply_filters( 'comment_row_actions', $actions, $comment );2204 $actions = apply_filters( 'comment_row_actions', array_filter($actions), $comment ); 2196 2205 2197 2206 $i = 0;
Note: See TracChangeset
for help on using the changeset viewer.