|
@@ 731-733 (lines=3) @@
|
| 728 |
|
$options['hide_smile'] = isset( $_POST['hide_smile'] ) && $_POST['hide_smile']; |
| 729 |
|
|
| 730 |
|
$options['roles'] = array( 'administrator' ); |
| 731 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 732 |
|
if ( isset( $_POST["role_$role"] ) && $_POST["role_$role"] ) { |
| 733 |
|
$options['roles'][] = $role; |
| 734 |
|
} |
| 735 |
|
} |
| 736 |
|
|
|
@@ 738-740 (lines=3) @@
|
| 735 |
|
} |
| 736 |
|
|
| 737 |
|
$options['count_roles'] = array(); |
| 738 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 739 |
|
if ( isset( $_POST["count_role_$role"] ) && $_POST["count_role_$role"] ) { |
| 740 |
|
$options['count_roles'][] = $role; |
| 741 |
|
} |
| 742 |
|
} |
| 743 |
|
|