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 commentedComment #3
znak commentedComment #4
sonvir249 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 commented