mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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
This commit is contained in:
parent
097e4ede58
commit
543f408098
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user