WordPress.org

Make WordPress Core

Ticket #43602: 43602.retention.count.bug.diff

File 43602.retention.count.bug.diff, 524 bytes (added by allendav, 16 months ago)

Fix retention count bug that could cause the UX to say no personal data was found when in fact data was retained

  • src/wp-admin/js/xfn.js

     
    116116                                        removedCount += responseData.num_items_removed;
    117117                                }
    118118                                if ( responseData.num_items_retained ) {
    119                                         retainedCount += responseData.num_items_removed;
     119                                        retainedCount += responseData.num_items_retained;
    120120                                }
    121121                                if ( responseData.messages ) {
    122122                                        messages = messages.concat( responseData.messages );