Ticket #23497: 23497.13.diff
File 23497.13.diff, 1.4 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
2139 2139 2140 2140 $compareto = isset( $_GET['compareto'] ) ? absint( $_GET['compareto'] ) : 0; 2141 2141 $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'] : ''; 2143 2143 $postid = isset( $_GET['post_id'] ) ? absint( $_GET['post_id'] ) : ''; 2144 2144 2145 2145 $comparetwomode = ( '' == $postid ) ? false : true; … … 2236 2236 2237 2237 $args = array(); 2238 2238 2239 if ( 'true' == $show _split_view )2240 $args = array( 'show _split_view' => 'true' );2239 if ( 'true' == $showsplitview ) 2240 $args = array( 'showsplitview' => 'true' ); 2241 2241 2242 2242 $content .= wp_text_diff( $left_content, $right_content, $args ); 2243 2243 } -
wp-admin/js/revisions.js
174 174 }, 175 175 176 176 /* 177 * initialize the revision appl ;ication177 * initialize the revision application 178 178 */ 179 179 initialize : function( options ) { 180 180 var self = this; //store the application instance