Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23148, comment 55


Ignore:
Timestamp:
03/06/2023 10:10:35 AM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23148, comment 55

    initial v1  
    22> I could be convinced either way but I kind of agree with Aaron here, that it doubles up a lot of actions from the `wp_insert_post()` function. Documenting the use of `doing_action( 'wp_ajax_save-attachment' )` adds to the confusion, as that seems something that can be done in the existing hooks.
    33
    4 Indeed, this looks a lot like #28112 to me, where the `bulk_edit_posts` hook was reverted in [55265] pending confirmation it is actually needed, especially after the ticket reporter has apparently been able to achieve the goal using the existing hooks.
     4Indeed, this looks a lot like #28112 to me, where the `bulk_edit_posts` hook was reverted in [55265] pending confirmation that it is actually needed, especially after the ticket reporter has apparently been able to achieve the goal using the existing hooks.
    55
    66Reopening to either further improve the docs as suggested in comment:52, or revert for now and move to 6.3 to get a better idea of whether this hook is needed, and how it should be implemented.