Changeset 21504 for trunk/wp-admin/includes/class-wp-posts-list-table.php
- Timestamp:
- 08/14/2012 06:39:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r21323 r21504 546 546 if ( current_user_can( $post_type_object->cap->delete_post, $post->ID ) ) { 547 547 if ( 'trash' == $post->post_status ) 548 $actions['untrash'] = "<a title='" . esc_attr( __( 'Restore this item from the Trash' ) ) . "' href='" . wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash- ' . $post->post_type . '_' . $post->ID ) . "'>" . __( 'Restore' ) . "</a>";548 $actions['untrash'] = "<a title='" . esc_attr( __( 'Restore this item from the Trash' ) ) . "' href='" . wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ) . "'>" . __( 'Restore' ) . "</a>"; 549 549 elseif ( EMPTY_TRASH_DAYS ) 550 550 $actions['trash'] = "<a class='submitdelete' title='" . esc_attr( __( 'Move this item to the Trash' ) ) . "' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Trash' ) . "</a>";
Note: See TracChangeset
for help on using the changeset viewer.