Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Jan 13, 2025
1 parent 93bbf33 commit 741a661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin-settings.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function save($raw_data)
if ($data) {
foreach ($data as $k => $v) {
if (user_can($v, 'edit_posts')) {
$msg = sprintf(__('The user id %s has the editor access, it is not allowed to be used as role simulator.', 'litespeed-cache'), '<code>' . $v . '</code>');
$msg = sprintf(__('The user with id %s has editor access, which is not allowed for the role simulator.', 'litespeed-cache'), '<code>' . $v . '</code>');
Admin_Display::error($msg);
unset($data[$k]);
}
Expand Down

0 comments on commit 741a661

Please sign in to comment.