Changes between Initial Version and Version 1 of Ticket #20564, comment 112
- Timestamp:
- 09/20/2014 04:16:38 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20564, comment 112
initial v1 1 Replying to [comment:111 adamsilverstein]:2 > [attachment:20564.19.diff]3 > * refresh against trunk4 > * verify unit tests pass5 535 // Retore the previous revision6 536 $revisions = wp_get_post_revisions( $post_id );7 537 array_shift( $revisions );8 538 $last_revision = array_shift( $revisions );9 539 wp_restore_post_revision( $last_revision->ID );10 Every time I am testing that I find that the code actually stops here fom excuting