It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.
Part of #2006152: [meta] Don't call theme() directly anywhere outside drupal_render().
We are working today with this issue during Code Sprint UA.
Patch attached.
This looks ok to me.
Committed b61918f and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
There is still a theme() call in FilterCaption.php
I created an article and it worked fine.
#9: replace_theme_function_with_drupal_render_in_filter_module-2009018-9.patch queued for re-testing.
C14N(), eh? And the award for the silliest method name goes to... :D
At any rate, this does seem indeed to just be taking what's there and moving it to a drupal_render() call, so...
Committed and pushed to 8.x. Thanks!
Comments
Comment #1
thedavidmeister CreditAttribution: thedavidmeister commentedComment #2
InternetDevels CreditAttribution: InternetDevels commentedWe are working today with this issue during Code Sprint UA.
Comment #3
InternetDevels CreditAttribution: InternetDevels commentedPatch attached.
Comment #4
InternetDevels CreditAttribution: InternetDevels commentedComment #5
thedavidmeister CreditAttribution: thedavidmeister commentedThis looks ok to me.
Comment #6
alexpottCommitted b61918f and pushed to 8.x. Thanks!
Comment #8
thedavidmeister CreditAttribution: thedavidmeister commentedThere is still a theme() call in FilterCaption.php
Comment #9
StephaneQComment #10
siccababes CreditAttribution: siccababes commentedI created an article and it worked fine.
Comment #11
xjm#9: replace_theme_function_with_drupal_render_in_filter_module-2009018-9.patch queued for re-testing.
Comment #12
webchickC14N(), eh? And the award for the silliest method name goes to... :D
At any rate, this does seem indeed to just be taking what's there and moving it to a drupal_render() call, so...
Committed and pushed to 8.x. Thanks!