| @@ -764,9 +764,9 @@ | ||
| 764 | 764 | * @return string $output The output. |
| 765 | 765 | */ |
| 766 | 766 | private function display_data_popup( $item ) { |
| 767 | 767 | $output = ''; |
| 768 | - $data = maybe_unserialize( $item['data'] ); | |
| 768 | + $data = wel_safe_maybe_unserialize( $item['data'] ); | |
| 769 | 769 | $compared_mode = ! empty( $data['differed'] ); |
| 770 | 770 | $item['mode'] = ( $compared_mode ) ? 'diff' : 'all'; |
| 771 | 771 | $diff_ele_id = 'log-dialog-' . $item['ID']; |
| 772 | 772 | $output .= '<p><a href="javascript:void(0);" class="log-dialog-button" for="' . $diff_ele_id . '">' . __( 'More Details' ) . '</a></p>'; |