Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2012 at 15:08 UTC
Updated:
4 Mar 2015 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mrded commentedPlease, check my patch.
Comment #2
mrded commentedJust deleted check_plain() & check_url() because l() is use it already.
Comment #3
mrded commented2: drupal-change-theme_aggregator_block_item-1763964.patch queued for re-testing.
Comment #4
ParisLiakos commentedshouldnt we remove this theme function completely according to #1595614: [meta] Remove all the theme functions and templates in core that simply output a link. Replace with #type 'link' render arrays?
Comment #5
ParisLiakos commenteddouble post
Comment #6
ianthomas_ukAs per the backport policy (https://drupal.org/node/767608) this needs to be fixed in Drupal 8 first. It would be a slightly different fix, as the theme function has been replaced with aggregator-block-item.html.twig, but the fundamental issue remains. However I agree with #4 that a better fix would be to remove this template altogether.
Even if this is fixed in 8.x, I do not think a similar fix would be accepted for 7.x, because it is an api change for the sake of nicer code (it will break any code that is overriding this theme function).
Comment #7
ParisLiakos commentedComment #8
ParisLiakos commentedComment #9
ParisLiakos commentedpatch
Comment #11
ParisLiakos commentedmeh
Comment #12
ParisLiakos commentedreroll
Comment #13
ParisLiakos commentedreroll
Comment #14
marvil07 commentedPatch should now also remove core/themes/classy/templates/aggregator/aggregator-block-item.html.twig
Comment #15
ParisLiakos commentedgood point! also rerolled
Comment #16
marvil07 commentedThanks for the reroll. Now it seems ok.
Comment #17
ParisLiakos commentedComment #18
alexpottLet's get a CR to announce the removal. Makes sense to me - cna be committed under the reducing fragility provision.
Comment #19
ParisLiakos commentedSure, thanks! added https://www.drupal.org/node/2428705
Comment #20
alexpottCommitted 61e09de and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.