Changeset 34178 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 09/15/2015 10:31:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r34170 r34178 1320 1320 if ( 'draft' == $post->post_status ) { 1321 1321 $draft_link = set_url_scheme( get_permalink( $post->ID ) ); 1322 /** This filter is documented in wp-admin/includes/meta-boxes.php */1323 1322 $preview_link = get_preview_post_link( $post, array(), $draft_link ); 1324 1323 $return .= "<span id='view-post-btn'><a href='" . esc_url( $preview_link ) . "' class='button button-small' target='wp-preview-{$post->ID}'>$view_post</a></span>\n";
Note: See TracChangeset
for help on using the changeset viewer.