Code in question:

function my_alter_comment_attribution(&$element, $node = NULL) {
  $element['#attached']['js'][] = array('type' => 'setting', 'data' => array(
    'myOrg' => array(
      'defaultCommentAttribution' => '<div class="myorg-attribution-summary">' . t('<strong>Attribute this contribution:</strong> <strong>@name</strong> at organization <a href="#" class="organization">not applicable</a> for customer <a href="#" class="customer">not applicable</a>', array('@name' => empty($element['#entity']->name) ? $GLOBALS['user']->name : $element['#entity']->name)) . '</div>'
    ),
  ));

Comments

mikeytown2’s picture

mikeytown2’s picture

Status: Active » Needs review

Tested on my side and it appears to be fixed.

mikeytown2’s picture

Got a confirmation that this is good to go.

mikeytown2’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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