Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
As per #2467759: Refactor drupal_process_attached() so it doesn't depend on drupal_add_http_header(), drupal_add_http_header is no longer in use in Drupal 8.
Affected code:
$ grep -R http_header .
./captcha/image_captcha/image_captcha.admin.inc: drupal_add_http_header('Content-Type', 'image/png');
The code needs to be refactored.
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal_add_http_header_is_deprecated-2904994-3.patch | 805 bytes | Znak |
|
Comments
Comment #2
Znak CreditAttribution: Znak commentedComment #3
Znak CreditAttribution: Znak commentedComment #4
sonvir249 CreditAttribution: sonvir249 as a volunteer and at QED42 commentedHi @Znak,
I checked your patch and it worked for me.
It removes the shown warnings when image captcha module is installed and uninstalled.
Thanks.
Comment #6
elachlan CreditAttribution: elachlan commented