Commit 8c5c1fa78e for wordpress.org
commit 8c5c1fa78ebde9f375cba5bb62b495923406dc42
Author: Mamaduka <mamaduka@git.wordpress.org>
Date: Thu Oct 29 07:05:55 2026 +0000
Editor: Add thumbs up and plus note reactions.
Adds 👍 and ➕ to the note reaction keys accepted by `WP_REST_Comments_Controller`, extending the quick reactions with two common positive responses. Thumbs down remains excluded to keep the default set positive.
This brings over the PHP changes from https://github.com/WordPress/gutenberg/pull/85565.
Follow-up to r64488.
Props mamaduka, mukesh27.
See #64638.
Built from https://develop.svn.wordpress.org/trunk@64999
git-svn-id: http://core.svn.wordpress.org/trunk@64149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
index 2b048550cd..523ef5e786 100644
--- a/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
+++ b/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
@@ -44,12 +44,12 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
*
* @since 7.2.0
*
- * @return string[] Hex keys for heart, celebration, smile, eyes and rocket.
+ * @return string[] Hex keys for thumbs up, plus, heart, celebration, smile, eyes and rocket.
*
* @phpstan-return non-empty-list<lowercase-string&non-falsy-string>
*/
private static function get_note_reaction_keys(): array {
- return array( '2764', '1f389', '1f604', '1f440', '1f680' );
+ return array( '1f44d', '2795', '2764', '1f389', '1f604', '1f440', '1f680' );
}
/**
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 58ff9dc9f6..df09b6a769 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta3-64998';
+$wp_version = '7.2-beta3-64999';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.