Changes between Initial Version and Version 1 of Ticket #43316, comment 23
- Timestamp:
- 03/08/2018 08:00:17 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43316, comment 23
initial v1 2 2 > can you describe the use case for this? "Autosaves controller to be able to handle updating the post too (without creating another revision)." 3 3 4 That's already in the patch, just better to do `define( 'DOING_AUTOSAVE', true );` instead of removing and then re ading the action `remove_action( 'post_updated', 'wp_save_post_revision' );`. Plugins may be "watching for" the constant too.4 That's already in the patch, just better to do `define( 'DOING_AUTOSAVE', true );` instead of removing and then re-adding the action `remove_action( 'post_updated', 'wp_save_post_revision' );`. Plugins may be "watching for" the constant too.