Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Minor misspellings:
function user_rules_action_info() {
return array(
'rules_action_user_addrole' => array(
'label' => t('Add user role'),
'arguments' => array(
'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
),
'module' => 'User',
),
'rules_action_user_removerole' => array(
'label' => t('Remove user role'),
'arguments' => array(
'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
),
'module' => 'User',
),
...
Both instances of "whos" should be "whose".
Comment | File | Size | Author |
---|---|---|---|
#3 | fixed-misspelling-1281158-0.patch | 1.25 KB | kari.kaariainen |
Comments
Comment #1
dasjoComment #2
dasjo:)
Comment #3
kari.kaariainen CreditAttribution: kari.kaariainen commentedThis is my very first patch, hope I got it right.
Comment #4
mrtoner CreditAttribution: mrtoner commentedI haven't learned git, so I'm still doing patches the old way. Unfortunately, that means I don't offer as many patches as I might otherwise.
Comment #5
kari.kaariainen CreditAttribution: kari.kaariainen commentedChanged status.
Comment #6
fagothanks, patch looks good! Committed.