Changeset 28500 for trunk/src/wp-admin/revision.php
- Timestamp:
- 05/19/2014 05:03:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/revision.php
r27469 r28500 30 30 $redirect = 'edit.php'; 31 31 32 switch ( $action ) :32 switch ( $action ) { 33 33 case 'restore' : 34 34 if ( ! $revision = wp_get_post_revision( $revision_id ) ) … … 81 81 $redirect = false; 82 82 break; 83 endswitch; 83 } 84 84 85 85 // Empty post_type means either malformed object found, or no valid parent was found.
Note: See TracChangeset
for help on using the changeset viewer.