Automattic / Automattic/jetpack
Related Posts: Implement _log_click and _previous_post_id in the block
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Quoting @jeherve from https://github.com/Automattic/jetpack/pull/10132#issuecomment-448625933:
> In the old implementation, see `_log_click` and `_previous_post_id` here:
https://github.com/Automattic/jetpack/blob/3283ec371c6e8ed01b3bbf021a5d4f5aac235b1e/modules/related-posts/jetpack-related-posts.php#L130
> Maybe we should do the same thing in the new implementation?
Contributor guide
Research direction
Start by reading modules/related-posts/jetpack-related-posts.php at the linked lines and inspect the related-posts block implementation discussed in pull request #10132. Compare how _log_click and _previous_post_id work in the old implementation; done means the new block provides equivalent behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100