[wp-trac] [WordPress Trac] #52007: sticky_posts somehow ends up with duplicate IDs and unstickying only removes one at a time
WordPress Trac
noreply at wordpress.org
Sun Dec 27 19:10:13 UTC 2020
#52007: sticky_posts somehow ends up with duplicate IDs and unstickying only
removes one at a time
-------------------------------+---------------------
Reporter: archon810 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.7
Component: Posts, Post Types | Version: 5.5.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+---------------------
Changes (by SergeyBiryukov):
* keywords: => needs-patch
* milestone: Awaiting Review => 5.7
Comment:
Thanks for the ticket! It seems like we should run `array_unique()` on the
`sticky_posts` option at some point here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52007#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list