Changeset 19213
- Timestamp:
- 11/08/2011 02:24:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r19192 r19213 554 554 } 555 555 if ( $post_type_object->public ) { 556 if ( in_array( $post->post_status, array( 'pending', 'draft' ) ) ) {556 if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ) ) ) { 557 557 if ( $can_edit_post ) 558 558 $actions['view'] = '<a href="' . esc_url( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ) . '" title="' . esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ) . '" rel="permalink">' . __( 'Preview' ) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.