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.

CommentFileSizeAuthor
#1 drupal-531444-1.patch822 bytesSivaji_Ganesh_Jojodae
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sivaji_Ganesh_Jojodae’s picture

FileSize
822 bytes

Attached is a patch which tries to fix this.

Status: Needs review » Needs work

The last submitted patch failed testing.

deekayen’s picture

Status: Needs work » Needs review

core tests are broken

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.