Post images: fix a typo in the hook name (#429)
* Post images: fix a typo in the hook name Follow-up to #309 It should be '_post', not twice '_pre'. * let grunt create the readme.md --------- Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
This commit is contained in:
parent
84c3933c78
commit
2568f6651d
3 changed files with 9 additions and 1 deletions
|
@ -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).
|
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 ###
|
### 1.0.0 ###
|
||||||
|
|
||||||
* Add: blog-wide Account (catchall, like `example.com@example.com`)
|
* Add: blog-wide Account (catchall, like `example.com@example.com`)
|
||||||
|
|
|
@ -275,7 +275,7 @@ class Post {
|
||||||
* @param int $id The attachment ID.
|
* @param int $id The attachment ID.
|
||||||
* @param string $image_size The image size to retrieve. Set to 'full' by default.
|
* @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;
|
return $thumbnail;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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).
|
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 =
|
= 1.0.0 =
|
||||||
|
|
||||||
* Add: blog-wide Account (catchall, like `example.com@example.com`)
|
* Add: blog-wide Account (catchall, like `example.com@example.com`)
|
||||||
|
|
Loading…
Reference in a new issue