From f158366ae5bfa3ac1f5c35bc451777cbba3093e3 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <ericrasmussen1@gmail.com> Date: Fri, 3 May 2013 10:23:22 -0500 Subject: [PATCH] [gh-705] Remove modules/image/image.field.inc hack It was added to core and our hack is now a duplicate --- README.md | 4 ---- modules/image/image.field.inc | 6 ------ 2 files changed, 10 deletions(-) diff --git a/README.md b/README.md index 2bf32c1d8..1fc8474ac 100644 --- a/README.md +++ b/README.md @@ -93,10 +93,6 @@ In this example the web root is /Library/WebServer/Documents and Apache runs as Added an example of the $default_domains array. Added the stub record needed for creating site aliases. - * modules/image/image.field.inc - - - theme_image_formatter ignores attributes so classes can't be added to an image in a theme (needed for photo frame). See http://drupal.org/node/1025796#comment-4298698 and http://drupal.org/files/issues/1025796.patch - * modules/field/modules/text/text.module - Add nl2br() on Plain Text processor. See http://drupal.org/node/1152216#comment-7174876 diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc index e2a0249ed..60c0f5ac0 100644 --- a/modules/image/image.field.inc +++ b/modules/image/image.field.inc @@ -620,12 +620,6 @@ function theme_image_formatter($variables) { $image['title'] = $item['title']; } - /* UNL change: patch http://drupal.org/files/issues/1025796.patch http://drupal.org/node/1025796#comment-4298698 */ - // Load the attributes into the image. - if (isset($item['attributes'])) { - $image['attributes'] = $item['attributes']; - } - if ($variables['image_style']) { $image['style_name'] = $variables['image_style']; $output = theme('image_style', $image); -- GitLab