diff --git a/src/bp-activity/bp-activity-embeds.php b/src/bp-activity/bp-activity-embeds.php
index 30181cc80..0c9f53263 100644
|
a
|
b
|
EOD; |
| 267 | 267 | $float_width = 350; |
| 268 | 268 | |
| 269 | 269 | // Set up thumb. |
| 270 | | $content = sprintf( '<div class="thumb" style="max-width:%1$spx">%2$s<a href="%3$s" rel="nofollow" onclick="top.location.href=\'%3$s\'"><img src="%4$s" /></a></div>', $thumb_width, $play_icon, esc_url( $url ), esc_url( $thumbnail ) ); |
| | 270 | $content = sprintf( '<div class="thumb" style="max-width:%1$spx">%2$s<a href="%3$s" rel="nofollow" onclick="top.location.href=\'%3$s\'"><img src="%4$s" alt="" /></a></div>', $thumb_width, $play_icon, esc_url( $url ), esc_url( $thumbnail ) ); |
| 271 | 271 | |
| 272 | 272 | // Show title. |
| 273 | 273 | if ( isset( $oembed->title ) ) { |
diff --git a/src/bp-activity/js/mentions.js b/src/bp-activity/js/mentions.js
index 1c1126ae6..17407faaf 100644
|
a
|
b
|
window.bp = window.bp || {}; |
| 232 | 232 | |
| 233 | 233 | at: '@', |
| 234 | 234 | searchKey: 'search', |
| 235 | | displayTpl: '<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>' |
| | 235 | displayTpl: '<li data-value="@${ID}"><img src="${image}" alt="" /><span class="username">@${ID}</span><small>${name}</small></li>' |
| 236 | 236 | }, |
| 237 | 237 | |
| 238 | 238 | opts = $.extend( true, {}, suggestionsDefaults, mentionsDefaults, options ); |