Update WP and plugins

This commit is contained in:
Oliver Davies 2019-04-16 20:56:22 +01:00
parent 10a4713229
commit 1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions

View file

@ -373,7 +373,7 @@ var twemoji = (function (
iconId = grabTheRightIcon(rawText);
i = index + rawText.length;
src = options.callback(iconId, options);
if (src) {
if (iconId && src) {
img = new Image();
img.onerror = options.onerror;
img.setAttribute('draggable', 'false');
@ -434,7 +434,7 @@ var twemoji = (function (
src = options.callback(iconId, options),
attrib,
attrname;
if (src) {
if (iconId && src) {
// recycle the match string replacing the emoji
// with its image counter part
ret = '<img '.concat(
@ -565,4 +565,4 @@ var twemoji = (function (
return r.join(sep || '-');
}
}());
}());