includes/admin/class-auto-load-next-post-admin-settings.php 2 locations
|
@@ 560-567 (lines=8) @@
|
| 557 |
|
|
| 558 |
|
break; |
| 559 |
|
|
| 560 |
|
case "textarea" : |
| 561 |
|
if ( isset( $_POST[$value['id']] ) ) { |
| 562 |
|
$option_value = wp_kses_post( trim( stripslashes( $_POST[$value['id']] ) ) ); |
| 563 |
|
} else { |
| 564 |
|
$option_value = ''; |
| 565 |
|
} |
| 566 |
|
|
| 567 |
|
break; |
| 568 |
|
|
| 569 |
|
case "text" : |
| 570 |
|
case "number": |
|
@@ 573-580 (lines=8) @@
|
| 570 |
|
case "number": |
| 571 |
|
case "select" : |
| 572 |
|
case "single_select_page" : |
| 573 |
|
case "radio" : |
| 574 |
|
if ( isset( $_POST[$value['id']] ) ) { |
| 575 |
|
$option_value = auto_load_next_post_clean( stripslashes( $_POST[$value['id']] ) ); |
| 576 |
|
} else { |
| 577 |
|
$option_value = ''; |
| 578 |
|
} |
| 579 |
|
|
| 580 |
|
break; |
| 581 |
|
|
| 582 |
|
// Special types |
| 583 |
|
case "multiselect" : |