In _role_watchdog_add_role():
$vars = array(
'body' => 'Role !role!role_modifier added to !account by !user',
// ...
);
!role_modifier is never given a replacement value, so the first part of it—!role—is replaced, while the '_modifier' stays on the end.
So, if I add a role called "editor," the resulting message is:
Role editoreditor_modifier added to account by user
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | log message.png | 25.16 KB | gchauhan |
| #1 | ee9d7db47053c2c1db37395b2a973e6408064239.patch | 862 bytes | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedHere is a patch -- this is just to test iq-submit, really.
Comment #2
gchauhan commentedYour patch applied successfully. Now the log message is making sense. Marking it as RTBC. And also adding the log message image.
Comment #3
gchauhan commentedComment #5
gaurav.kapoor commented