2a7df822b3
* Query for admin survey note_ids directly in Notes::possibly_delete_survey_notes(). * Add get_notes_with_type( $note_type ) method to Automattic\WooCommerce\Admin\Notes. Name selected for consistency with preexisting get_notes_with_name( $name ) method. * Use new get_notes_with_type() in Notes::possibly_delete_marketing_notes(). * Use new get_notes_with_type() in Notes::possibly_delete_survey_notes(). * Correct copy-pasta error querying for MARKETING notes instead of SURVEY notes in possibly_delete_survey_notes(). * Only delete actioned notes in possibly_delete_survey_notes(), which was the previous behavior. * Changed get_notes_with_type() to get_note_ids_by_type() in Notes data store. * Changelog for 7987/8206. * Add missing method name in changelog for 7987/8206. |
||
---|---|---|
plugins/woocommerce-admin |