Anonymous users should not encounter error messages related to API keys. Attached patch fixes that.

Comments

sun’s picture

StatusFileSize
new1.01 KB

Even better, display this administrative message only to users that are allowed to manage API keys.

Includes additional code clean-up:

- Permissions are not translatable. Do not wrap them with t()!
- Use placeholders to replace dynamic variables in t(). A string won't be localized otherwise.

sun’s picture

StatusFileSize
new1.02 KB

Missed url() for placeholder !link to generate a valid URL.

greenskin’s picture

Status: Needs review » Closed (won't fix)

Drupal 5 no longer supported. Closing to clean queue.