|
@@ 743-745 (lines=3) @@
|
| 740 |
|
$options['hide_smile'] = isset( $_POST['hide_smile'] ) && $_POST['hide_smile']; |
| 741 |
|
|
| 742 |
|
$options['roles'] = array( 'administrator' ); |
| 743 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 744 |
|
if ( isset( $_POST["role_$role"] ) && $_POST["role_$role"] ) { |
| 745 |
|
$options['roles'][] = $role; |
| 746 |
|
} |
| 747 |
|
} |
| 748 |
|
|
|
@@ 750-752 (lines=3) @@
|
| 747 |
|
} |
| 748 |
|
|
| 749 |
|
$options['count_roles'] = array(); |
| 750 |
|
foreach ( get_editable_roles() as $role => $details ) { |
| 751 |
|
if ( isset( $_POST["count_role_$role"] ) && $_POST["count_role_$role"] ) { |
| 752 |
|
$options['count_roles'][] = $role; |
| 753 |
|
} |
| 754 |
|
} |
| 755 |
|
|