Changes between Initial Version and Version 1 of Ticket #23148, comment 43
- Timestamp:
- 02/27/2023 11:54:36 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23148, comment 43
initial v1 15 15 16 16 Still don't see a point in replacing `doing_action( 'wp_ajax_save-attachment' )` with `add_action( 'wp_ajax_save_attachment', ... )`, but if everybody thinks it is a good idea, lets keep it. However thinking the new action at least should have a better/different name to avoid possibility of confusion. 17 18 Also thinking that if the new action is renamed and remains in core, the docblock should mention that it is very similar to the `wp_ajax_save-attachment` action, and that it can be replaced with `doing_action( 'wp_ajax_save-attachment' )` if that is more convenient.