Changeset 34170 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 09/15/2015 04:14:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r34122 r34170 551 551 { 552 552 if ( 'draft' == $post->post_status ) { 553 $preview_link = set_url_scheme( get_permalink( $post->ID ) ); 554 /** This filter is documented in wp-admin/includes/meta-boxes.php */ 555 $preview_link = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ); 553 $draft_link = set_url_scheme( get_permalink( $post->ID ) ); 554 $preview_link = get_preview_post_link( $post, array(), $draft_link ); 556 555 $wp_admin_bar->add_menu( array( 557 556 'id' => 'preview',
Note: See TracChangeset
for help on using the changeset viewer.