Skip to content

Commit 72c2bfc

Browse files
committed
send also announces for deletes
1 parent d5132d3 commit 72c2bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-activity-dispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static function send_activity( $wp_object, $type, $user_id = null ) {
9494
* @return void
9595
*/
9696
public static function send_announce( $wp_object, $type ) {
97-
if ( ! in_array( $type, array( 'Create', 'Update' ), true ) ) {
97+
if ( ! in_array( $type, array( 'Create', 'Update', 'Delete' ), true ) ) {
9898
return;
9999
}
100100

0 commit comments

Comments
 (0)