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