Changeset 1254 in tests
- Timestamp:
- 04/03/2013 06:33:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/xmlrpc/wp/restoreRevision.php
r1050 r1254 15 15 16 16 $revisions = wp_get_post_revisions( $this->post_id ); 17 $revision = array_shift( $revisions ); // First revision is empty - http://core.trac.wordpress.org/changeset/23842 17 18 $revision = array_shift( $revisions ); 18 19 $this->revision_id = $revision->ID;
Note: See TracChangeset
for help on using the changeset viewer.