Automattic / Automattic/jetpack

Likes Broken Under 2014 When Post Formats are Used

Open
#1,317 9 comments 0 reactions 0 assignees View on GitHub
[Feature] Likes [Pri] Low [Status] Auto-allocated [Status] Stale Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

As seen at http://delta.jhuff.me/ all of the Like buttons break under Twenty Fourteen when a post format besides Standard is in use.

You can see that the Like button remains broken at http://delta.jhuff.me/2014/10/29/audio-test/ (an Audio format post), but once again functions properly at http://delta.jhuff.me/2014/09/04/lorem-ipsum/ (a Standard post format), and they are both broken once again under http://delta.jhuff.me/ (where an Audio format post is present).

I have been able to reproduce the issue with _all_ post formats except Standard, and I can only reproduce the issue in the Twenty Fourteen theme.

Screenshot Attached:
![screen shot 2014-11-19 at 2 36 37 pm](https://cloud.githubusercontent.com/assets/4856235/5115936/4aca52de-6ffa-11e4-8440-8a29a6d64855.png)

This is under WordPress 4.0, Twenty Fourteen 1.2, and Jetpack 3.2.1 with the JSON API, Likes, Monitor, Notifications, and WordPress.com Stats modules enabled. No other plugins active.

Originally discovered at http://sarahwallinhuff.com where I "fixed" it by switching an Audio post to Standard.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Like-button failure with non-Standard post formats in Twenty Fourteen, using the WordPress 4.0, Twenty Fourteen 1.2, and Jetpack 3.2.1 combination described. Trace the Likes module and its interaction with the theme's post-format markup; done means Like buttons work for every tested format while Standard posts continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.