Ticket #17609: class-wp-posts-list-table.patch
| File class-wp-posts-list-table.patch, 1.0 KB (added by , 13 years ago) |
|---|
-
wp-admin/includes/class-wp-posts-list-table.php
593 593 if ( 'trash' == $post->post_status || !EMPTY_TRASH_DAYS ) 594 594 $actions['delete'] = "<a class='submitdelete' title='" . esc_attr( __( 'Delete this item permanently' ) ) . "' href='" . get_delete_post_link( $post->ID, '', true ) . "'>" . __( 'Delete Permanently' ) . "</a>"; 595 595 } 596 if ( $post_type_object->public ) {596 if ( $post_type_object->publicly_queryable ) { 597 597 if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ) ) ) { 598 598 if ( $can_edit_post ) 599 599 $actions['view'] = '<a href="' . esc_url( apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) ) . '" title="' . esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ) . '" rel="permalink">' . __( 'Preview' ) . '</a>';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)