{"id":8278321,"date":"2016-10-11T21:35:47","date_gmt":"2016-10-11T21:35:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/widget-post-classes-bug\/"},"modified":"2016-10-11T21:35:47","modified_gmt":"2016-10-11T21:35:47","slug":"widget-post-classes-bug","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/widget-post-classes-bug\/","title":{"rendered":"Widget post classes bug"},"content":{"rendered":"<p>In the <code>list_item()<\/code> method in <code>widget.php<\/code>, the glue parameter is not specified, so this causes the array of post classes to be combined into a string without spaces.<\/p>\n<p>This change fixes the issue: <code>$post_class = implode(&#039; &#039;,  get_post_class());<\/code><\/p>\n","protected":false},"template":"","class_list":["post-8278321","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8278321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8278321\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8278321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}