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.
Link to new comment with #anchor genarated not correctly. String
array('attributes' => array('title' => $comment->subject, 'fragment' => 'comment-'. $comment->cid))
must be
array('attributes' => array('title' => $comment->subject), 'fragment' => 'comment-'. $comment->cid )
I found some missing translation, but I'm not shure that my fix is correctly (it's work for me). Please review patch.
Comment | File | Size | Author |
---|---|---|---|
#4 | userpoints.module.patch | 1.43 KB | dicreat |
#2 | userpoints.module.patch | 779 bytes | dicreat |
userpoints.module.patch | 1.61 KB | dicreat | |
Comments
Comment #1
kbahey CreditAttribution: kbahey commentedt() should not be used on variables, only literal strings.
See details here http://groups.drupal.org/node/15177
You can submit a revised patch for the anchor issue only.
Comment #2
dicreat CreditAttribution: dicreat commentedOk, thanks.
Comment #3
kbahey CreditAttribution: kbahey commentedThe patch does not apply cleanly. Please follow the instructions at http://drupal.org/patch for details.
Also, if you search the module you will find another instance of _comment_load(). Does the lines following it need to be fixed to? If so, please reroll the patch with a fix for that line as well.
Comment #4
dicreat CreditAttribution: dicreat commentedPlease review new patch, now all must be fine.
Comment #5
kbahey CreditAttribution: kbahey commentedCommitted. Thank you!