t() !placeholder is now deprecated

Created on 15 November 2016, about 8 years ago
Updated 30 April 2024, 8 months ago

The !placeholder in t() has been deprecated in Drupal 8 which now breaks the messages presented by this module.

There are various uses of this:

$msg = t('Your form has unique field validation errors. Click !here to bypass this check and resubmit.', array('!here' => "<a href=\"#\" onclick=\"jQuery('form#" . $form_id . " input[name=\'unique_field_override\']').val(1);jQuery('form#" . $form_id . "').submit();return false;\">" . t('here') . '</a>'));

We should now use the :placeholder instead.

Paul

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Paul_Gregory

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024