diff --git a/README.md b/README.md index 1ce0fe4..b82a9ba 100644 --- a/README.md +++ b/README.md @@ -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`) diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index 09b79e4..0267e2e 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -275,7 +275,7 @@ class Post { * @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; } diff --git a/readme.txt b/readme.txt index 804b229..8f144c8 100644 --- a/readme.txt +++ b/readme.txt @@ -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`)