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.
API page: http://api.drupal.org/api/drupal/core%21includes%21form.inc/function/the...
theme_checkbox()
contains the following line:
$t = get_t();
The function doesn't use $t
.
The same issue is also present in Drupal 7. In Drupal 6, get_t()
is never called.
Comment | File | Size | Author |
---|---|---|---|
#4 | fix-variable-1886796-4.patch | 427 bytes | apaderno |
Comments
Comment #1
apadernoDrupal 8 doesn't define anymore
theme_checkbox()
. (It's Drupal API that is not updated.)This is still true for Drupal 7, where
theme_checkbox()
uses the following code.Comment #3
apadernoComment #4
apadernoComment #5
droplet CreditAttribution: droplet commentedComment #6
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/ec118af
Comment #7.0
(not verified) CreditAttribution: commentedUpdated issue summary.