Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The culprit:
function test_page_test_page() {
drupal_add_js(array('test-setting' => 'azAZ09();.,\\\/-_{}'), array('type' => 'setting'));
return array(
'#title' => t('Test page'),
'#markup' => t('Test page text.'),
);
}
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff.txt | 754 bytes | Wim Leers |
#2 | 2160599-remove-drupal_add_js-system-2.patch | 870 bytes | Wim Leers |
Comments
Comment #1
vijaycs85Comment #2
Wim LeersLooks great: does not introduce another
drupal_render($attached)
call like the other patches :)This changes an attachment that is being tested, so since it's green, it obviously doesn't break anything.
One nitpick: a missing trailing comma. Added that.
RTBC.
Comment #3
vijaycs85Thanks for clean up @Wim Leers and +1 to RTBC.
Comment #4
catchCommitted/pushed to 8.x, thanks!