WordPress.org

Make WordPress Core

Changeset 23509


Ignore:
Timestamp:
02/28/2013 04:48:33 PM (7 years ago)
Author:
westi
Message:

Revisions: Fix up some half renamed variables that break the view and display a mismash of split and combined views. See #23497 props adamsilverstein.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ajax-actions.php

    r23508 r23509  
    21402140    $compareto = isset( $_GET['compareto'] ) ? absint( $_GET['compareto'] ) : 0;
    21412141    $showautosaves = isset( $_GET['showautosaves'] ) ? $_GET['showautosaves'] : '';
    2142     $show_split_view = isset( $_GET['show_split_view'] ) ? $_GET['show_split_view'] : '';
     2142    $showsplitview = isset( $_GET['showsplitview'] ) ? $_GET['showsplitview'] : '';
    21432143    $postid = isset( $_GET['post_id'] ) ? absint( $_GET['post_id'] ) : '';
    21442144
     
    22372237        $args = array();
    22382238
    2239         if ( 'true' == $show_split_view )
    2240              $args = array( 'show_split_view' => 'true' );
     2239        if ( 'true' == $showsplitview )
     2240             $args = array( 'showsplitview' => 'true' );
    22412241
    22422242        $content .= wp_text_diff( $left_content, $right_content, $args );
  • trunk/wp-admin/js/revisions.js

    r23508 r23509  
    175175
    176176            /*
    177              * initialize the revision appl;ication
     177             * initialize the revision application
    178178             */
    179179            initialize : function( options ) {
Note: See TracChangeset for help on using the changeset viewer.