[wp-trac] [WordPress Trac] #23901: Revisions: revisions.js clean up

WordPress Trac noreply at wordpress.org
Wed Apr 3 22:11:32 UTC 2013


#23901: Revisions: revisions.js clean up
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Revisions     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by azaozz):

 Looking at 23901.4.patch (23901.4.diff):

 - There is a typo on line 2185 in the patched ajax-actions.php, `if (
 $show_autosaves && wp_is_post_autosave( $revision ) )` should be `if ( !
 $show_autosaves && wp_is_post_autosave( $revision ) )`.
 - Still seeing two `&compare_to=...` in the url, now sometimes two
 `&post_id=...` as well:
 {{{
 /wp-admin/admin-ajax.php?
 action=revisions-data
 &compare_to=9077
 &post_id=9077
 &show_autosaves=true
 &show_split_view=true
 &right_handle_at=0
 &nonce=159dedc409
 &single_revision_id=9140
 &compare_to=9133
 &post_id=9077
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23901#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list