@@ 565-572 (lines=8) @@ | ||
562 | ||
563 | break; |
|
564 | ||
565 | case "textarea" : |
|
566 | if ( isset( $_POST[$value['id']] ) ) { |
|
567 | $option_value = wp_kses_post( trim( stripslashes( $_POST[$value['id']] ) ) ); |
|
568 | } else { |
|
569 | $option_value = ''; |
|
570 | } |
|
571 | ||
572 | break; |
|
573 | ||
574 | case "text" : |
|
575 | case "number": |
|
@@ 578-585 (lines=8) @@ | ||
575 | case "number": |
|
576 | case "select" : |
|
577 | case "single_select_page" : |
|
578 | case "radio" : |
|
579 | if ( isset( $_POST[$value['id']] ) ) { |
|
580 | $option_value = auto_load_next_post_clean( stripslashes( $_POST[$value['id']] ) ); |
|
581 | } else { |
|
582 | $option_value = ''; |
|
583 | } |
|
584 | ||
585 | break; |
|
586 | ||
587 | // Special types |
|
588 | case "multiselect" : |