Correct the value of the `preview` query variable added by `get_preview_post_link()`.

See #24345
Props kitchin

Built from https://develop.svn.wordpress.org/trunk@34175


git-svn-id: http://core.svn.wordpress.org/trunk@34143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2015-09-15 08:16:24 +00:00
parent fdb8400379
commit 9cd91030a6
2 changed files with 2 additions and 2 deletions

View File

@ -1182,7 +1182,7 @@ function get_preview_post_link( $post = null, $query_args = array(), $preview_li
$preview_link = get_permalink( $post );
}
$query_args['preview'] = true;
$query_args['preview'] = 'true';
$preview_link = add_query_arg( $query_args, $preview_link );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34174';
$wp_version = '4.4-alpha-34175';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.