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.
Follow up for #2782479: Replace deprecated usage of \Drupal::url with Url::fromRoute:
Replace deprecated usage of \Drupal::url with Url::fromRoute
https://api.drupal.org/api/drupal/core!lib!Drupal.php/function/Drupal%3A...
Comment | File | Size | Author |
---|---|---|---|
#4 | math-captcha.png | 55.58 KB | sarguna raj M |
#4 | image-captcha.png | 62.98 KB | sarguna raj M |
#2 | captcha-Url_fromRoute-2931385-2.patch | 3.38 KB | hswong3i |
|
Comments
Comment #2
hswong3i CreditAttribution: hswong3i commentedComment #3
sarguna raj M CreditAttribution: sarguna raj M at DrupalPartners, Innoppl Technologies Pvt. Ltd commentedComment #4
sarguna raj M CreditAttribution: sarguna raj M at DrupalPartners, Innoppl Technologies Pvt. Ltd commentedHi hswong3i,
I have tested the patch #2 manually and it seems to be working fine.
Tested the both Math and image captcha.
Please refer the attached screenshots.
Comment #5
wundo CreditAttribution: wundo commentedComment #6
wundo CreditAttribution: wundo commentedComment #7
wundo CreditAttribution: wundo commentedComment #8
wundo CreditAttribution: wundo commented@sarguna doesn't look like you're actually testing what he fixed. He changed something internal not the actual captcha.
Comment #9
magicmyth CreditAttribution: magicmyth as a volunteer commentedJust tested this patch on the latest dev version. It actually resolved an issue I was seeing on a new install:
I've tested with Drupal core's contact form (as a block with contact_block) with both the maths captcha and ReCaptcha.
Comment #11
elachlan CreditAttribution: elachlan commented