|
@@ 820-822 (lines=3) @@
|
| 817 |
|
$options['hide_smile'] = isset( $_POST['hide_smile'] ) && $_POST['hide_smile']; |
| 818 |
|
|
| 819 |
|
$options['roles'] = array( 'administrator' ); |
| 820 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 821 |
|
if ( isset( $_POST["role_$role"] ) && $_POST["role_$role"] ) { |
| 822 |
|
$options['roles'][] = $role; |
| 823 |
|
} |
| 824 |
|
} |
| 825 |
|
|
|
@@ 827-829 (lines=3) @@
|
| 824 |
|
} |
| 825 |
|
|
| 826 |
|
$options['count_roles'] = array(); |
| 827 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 828 |
|
if ( isset( $_POST["count_role_$role"] ) && $_POST["count_role_$role"] ) { |
| 829 |
|
$options['count_roles'][] = $role; |
| 830 |
|
} |
| 831 |
|
} |
| 832 |
|
|