[wp-trac] [WordPress Trac] #42254: Duplicate news entries in Events & News dashboard widget
WordPress Trac
noreply at wordpress.org
Tue Oct 17 18:15:21 UTC 2017
#42254: Duplicate news entries in Events & News dashboard widget
----------------------------+----------------------------------------
Reporter: iandunn | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Administration | Version: 4.8
Severity: minor | Keywords: needs-patch good-first-bug
Focuses: |
----------------------------+----------------------------------------
The first item in the News widget is always the latest post from the
`wordpress.org/news` blog. The next 3 posts are selected from the
`planet.wordpress.org` feed, which itself includes the
`wordpress.org/news` blog.
This can lead to duplicate entries:
[[Image(https://cldup.com/R67ghZqMRh.png)]]
One potential solution is to search the list of Planet feed items, to
check ifany of them match the current News item. If one does, it would be
removed, so that the next oldest item takes its place.
Reported by @sergeybiryukov on Slack
https://wordpress.slack.com/archives/C02RQBWTW/p1507073219000123
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42254>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list