| @@ -367,9 +367,9 @@ | ||
| 367 | 367 | $value = ' '; |
| 368 | 368 | } |
| 369 | 369 | $tempkey = substr( $key, 0, 5 ); |
| 370 | 370 | if ( in_array( $tempkey, array( 'csod_', 'cscs_', 'csde_' ) ) ) { |
| 371 | - $multi_value = maybe_unserialize( $value ); | |
| 371 | + $multi_value = wel_safe_maybe_unserialize( $value ); | |
| 372 | 372 | if ( is_array( $multi_value ) ) { |
| 373 | 373 | $value = ''; |
| 374 | 374 | foreach ( $multi_value as $str ) { |
| 375 | 375 | $value .= $str . ' '; |
| @@ -486,9 +486,9 @@ | ||
| 486 | 486 | } |
| 487 | 487 | break; |
| 488 | 488 | |
| 489 | 489 | case 'deli_name': |
| 490 | - $deliinfo = unserialize( $value ); | |
| 490 | + $deliinfo = wel_safe_unserialize( $value ); | |
| 491 | 491 | $deliname = $deliinfo['name1'] . $deliinfo['name2']; |
| 492 | 492 | $deliname_class = apply_filters( 'usces_filter_orderlist_deliname_class', '', $deliinfo, $deliname ); |
| 493 | 493 | if ( $deliname ) { |
| 494 | 494 | $detail = '<td' . $deliname_class . '>' . esc_html( $deliinfo['name1'] . $deliinfo['name2'] ) . '( ' . esc_html( $deliinfo['pref'] ) . ')</td>'; |
| @@ -532,9 +532,9 @@ | ||
| 532 | 532 | break; |
| 533 | 533 | |
| 534 | 534 | case 'order_check': |
| 535 | 535 | $p_status = ''; |
| 536 | - $value = maybe_unserialize( $value ); | |
| 536 | + $value = wel_safe_maybe_unserialize( $value ); | |
| 537 | 537 | if ( ! is_array( $value ) ) { |
| 538 | 538 | $value = array(); |
| 539 | 539 | } |
| 540 | 540 | foreach ( $header_mail_print_fields as $k_mp => $v_mp ) { |
| @@ -581,9 +581,9 @@ | ||
| 581 | 581 | } |
| 582 | 582 | break; |
| 583 | 583 | |
| 584 | 584 | case 'meta_value': |
| 585 | - $value = maybe_unserialize( $value ); | |
| 585 | + $value = wel_safe_maybe_unserialize( $value ); | |
| 586 | 586 | if ( is_array( $value ) ) { |
| 587 | 587 | $opt_values = ''; |
| 588 | 588 | foreach ( $value as $opt_value ) { |
| 589 | 589 | $opt_values .= $opt_value . ','; |