From 9f10dd65fbad456ca4f9a52d67cd5307cc9ceb51 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 17:58:36 +0000 Subject: [PATCH] Add a true return description to the `test()` method added to wpEmoji in 4.3. See [32335]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33203 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/wp-emoji.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/js/wp-emoji.js b/src/wp-includes/js/wp-emoji.js index 186dd6b612..4acf43421d 100644 --- a/src/wp-includes/js/wp-emoji.js +++ b/src/wp-includes/js/wp-emoji.js @@ -91,12 +91,13 @@ } /** - * Test if a text string contains emoji characters + * Test if a text string contains emoji characters. * * @since 4.3.0 * * @param {String} text The string to test - * @returns Boolean + * + * @return {Boolean} Whether the string contains emoji characters. */ function test( text ) { // Single char. U+20E3 to detect keycaps. U+00A9 "copyright sign" and U+00AE "registered sign" not included.