|
@@ 843-845 (lines=3) @@
|
| 840 |
|
$options['hide_smile'] = isset( $_POST['hide_smile'] ) && $_POST['hide_smile']; |
| 841 |
|
|
| 842 |
|
$options['roles'] = array( 'administrator' ); |
| 843 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 844 |
|
if ( isset( $_POST["role_$role"] ) && $_POST["role_$role"] ) { |
| 845 |
|
$options['roles'][] = $role; |
| 846 |
|
} |
| 847 |
|
} |
| 848 |
|
|
|
@@ 850-852 (lines=3) @@
|
| 847 |
|
} |
| 848 |
|
|
| 849 |
|
$options['count_roles'] = array(); |
| 850 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 851 |
|
if ( isset( $_POST["count_role_$role"] ) && $_POST["count_role_$role"] ) { |
| 852 |
|
$options['count_roles'][] = $role; |
| 853 |
|
} |
| 854 |
|
} |
| 855 |
|
|