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.
when the PHP filter module is enabled it displays a message like
* A PHP code text format has been created.
* The configuration options have been saved.
where "PHP code" in line 1 is a link (admin/settings/filter/3
) to its configuration page. The link admin/settings/filter/3
is a wrong one, it should to be admin/settings/formats/3
.
- drupal_set_message(t('A !php-code text format has been created.', array('!php-code' => l('PHP code', 'admin/settings/filter/' . $format))));
+ drupal_set_message(t('A !php-code text format has been created.', array('!php-code' => l('PHP code', 'admin/settings/formats/' . $format))));
This will fix it.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-531444-1.patch | 822 bytes | Sivaji_Ganesh_Jojodae |
Comments
Comment #1
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedAttached is a patch which tries to fix this.
Comment #3
deekayen CreditAttribution: deekayen commentedcore tests are broken
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!