mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
Add a true return description to the test()
method added to wpEmoji in 4.3.
See [32335]. See #32891. Built from https://develop.svn.wordpress.org/trunk@33203 git-svn-id: http://core.svn.wordpress.org/trunk@33175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2829827c1c
commit
5b34f6faff
@ -91,12 +91,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test if a text string contains emoji characters
|
* Test if a text string contains emoji characters.
|
||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
*
|
*
|
||||||
* @param {String} text The string to test
|
* @param {String} text The string to test
|
||||||
* @returns Boolean
|
*
|
||||||
|
* @return {Boolean} Whether the string contains emoji characters.
|
||||||
*/
|
*/
|
||||||
function test( text ) {
|
function test( text ) {
|
||||||
// Single char. U+20E3 to detect keycaps. U+00A9 "copyright sign" and U+00AE "registered sign" not included.
|
// Single char. U+20E3 to detect keycaps. U+00A9 "copyright sign" and U+00AE "registered sign" not included.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta2-33202';
|
$wp_version = '4.3-beta2-33203';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user