|
@@ 770-772 (lines=3) @@
|
| 767 |
|
$options['hide_smile'] = isset( $_POST['hide_smile'] ) && $_POST['hide_smile']; |
| 768 |
|
|
| 769 |
|
$options['roles'] = array( 'administrator' ); |
| 770 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 771 |
|
if ( isset( $_POST["role_$role"] ) && $_POST["role_$role"] ) { |
| 772 |
|
$options['roles'][] = $role; |
| 773 |
|
} |
| 774 |
|
} |
| 775 |
|
|
|
@@ 777-779 (lines=3) @@
|
| 774 |
|
} |
| 775 |
|
|
| 776 |
|
$options['count_roles'] = array(); |
| 777 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 778 |
|
if ( isset( $_POST["count_role_$role"] ) && $_POST["count_role_$role"] ) { |
| 779 |
|
$options['count_roles'][] = $role; |
| 780 |
|
} |
| 781 |
|
} |
| 782 |
|
|