Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post images: fix a typo in the hook name #429

Merged
merged 3 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.

Project maintained on GitHub at [automattic/wordpress-activitypub](https://github.com/automattic/wordpress-activitypub).

### Next ###

* Fixed: fix a typo in a hook name.

### 1.0.0 ###

* Add: blog-wide Account (catchall, like `example.com@example.com`)
Expand Down
2 changes: 1 addition & 1 deletion includes/transformer/class-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ protected function get_image( $id, $image_size = 'full' ) {
* @param int $id The attachment ID.
* @param string $image_size The image size to retrieve. Set to 'full' by default.
*/
do_action( 'activitypub_get_image_pre', $id, $image_size );
do_action( 'activitypub_get_image_post', $id, $image_size );

return $thumbnail;
}
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.

Project maintained on GitHub at [automattic/wordpress-activitypub](https://github.com/automattic/wordpress-activitypub).

= Next =

* Fixed: fix a typo in a hook name.

= 1.0.0 =

* Add: blog-wide Account (catchall, like `example.com@example.com`)
Expand Down