@@ 547-554 (lines=8) @@ | ||
544 | ||
545 | break; |
|
546 | ||
547 | case "textarea" : |
|
548 | if (isset($_POST[$value['id']])) { |
|
549 | $option_value = wp_kses_post(trim(stripslashes($_POST[$value['id']]))); |
|
550 | } else { |
|
551 | $option_value = ''; |
|
552 | } |
|
553 | ||
554 | break; |
|
555 | ||
556 | case "text" : |
|
557 | case "number": |
|
@@ 560-567 (lines=8) @@ | ||
557 | case "number": |
|
558 | case "select" : |
|
559 | case "single_select_page" : |
|
560 | case "radio" : |
|
561 | if (isset($_POST[$value['id']])) { |
|
562 | $option_value = auto_load_next_post_clean(stripslashes($_POST[$value['id']])); |
|
563 | } else { |
|
564 | $option_value = ''; |
|
565 | } |
|
566 | ||
567 | break; |
|
568 | ||
569 | // Special types |
|
570 | case "multiselect" : |