WordPress.org

WordPRess GSoC

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#296 closed task (fixed)

Add restore functionality

Reported by: a.hoereth Owned by: a.hoereth
Milestone: 2013 Midterm (Beta) Priority: major
Component: Code Revisions Keywords:
Cc:

Description

This needs to hook into wp_restore_post_revision and should handle the updating of the original file. Core takes care of updating the corresponding post.

Saving changes to files is handled differently by core depending on editor. This should be unified in a way.

Plugins are deactivated and reactivated after a file is changed. This automatically checks for unexpected output. For theme's we need to remove the cache.

Change History (3)

#1 @a.hoereth
4 years ago

  • Owner set to a.hoereth
  • Resolution set to fixed
  • Status changed from new to closed

In 2046:

File restoring! Fixes #296

#2 @a.hoereth
4 years ago

See #307 and #306 for theme and plugin specific stuff.

#3 @a.hoereth
4 years ago

  • Priority changed from normal to major
Note: See TracTickets for help on using tickets.