From 543f4080985deca005ea848f7c2388df0cb32208 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 4 Dec 2014 14:36:24 +0000 Subject: [PATCH] Correct the default value of the `show_split_view` argument for revisions so they are correctly displayed side by side ins tead of inline. Fixes #24908 Built from https://develop.svn.wordpress.org/trunk@30739 git-svn-id: http://core.svn.wordpress.org/trunk@30729 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/revision.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/revision.php b/wp-admin/includes/revision.php index 10d9520381..ae9f93a4f7 100644 --- a/wp-admin/includes/revision.php +++ b/wp-admin/includes/revision.php @@ -75,7 +75,7 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) { $content_to = apply_filters( "_wp_post_revision_field_$field", $compare_to->$field, $field, $compare_to, 'to' ); $args = array( - 'show_split_view' => false + 'show_split_view' => true ); /** @@ -88,8 +88,8 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) { * @param array $args { * Associative array of options to pass to {@see wp_text_diff()}. * - * @type bool $show_split_view False for split view (two columns), true for - * un-split view (single column). Default false. + * @type bool $show_split_view True for split view (two columns), false for + * un-split view (single column). Default true. * } * @param string $field The current revision field. * @param WP_Post $compare_from The revision post to compare from. diff --git a/wp-includes/version.php b/wp-includes/version.php index 66631a6aab..2e4aeadbd8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30738'; +$wp_version = '4.1-beta2-30739'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.