Skip to content

Commit 77ae436

Browse files
mattwiebeobenlandpfefferle
authored
Add a reaction block (#1070)
Adds a Reactions (likes and reposts) block It automatically gets hooked to be placed after the post content block Enable reactions by default! --------- Co-authored-by: Konstantin Obenland <[email protected]> Co-authored-by: Matthias Pfefferle <[email protected]>
1 parent ba48d83 commit 77ae436

40 files changed

+1122
-49
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Reactions block to display likes and reposts
1213
* `icon` support for `Audio` and `Video` attachments
1314
* Send "new follower" emails
1415
* Send "direct message" emails
@@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1718

1819
### Improved
1920

21+
* Likes and Reposts enabled by default
2022
* Email templates for Likes and Reposts
2123
* Improve Interactions moderation
2224
* Compatibility with Akismet

activitypub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function rest_init() {
4949
Rest\Server::init();
5050
Rest\Collection::init();
5151
Rest\Interaction::init();
52+
Rest\Post::init();
5253

5354
// Load NodeInfo endpoints only if blog is public.
5455
if ( is_blog_public() ) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '4d5e9ed82e8448bb4fd1');
1+
<?php return array('dependencies' => array('react', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '6b15195803d2f5a2c116');

build/editor-plugin/plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/follow-me/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '62610556ba8e5f129fdf');
1+
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '9ba472502cdfebc07309');

0 commit comments

Comments
 (0)