[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
Thu Feb 18 12:02:56 UTC 2021


#52007: sticky_posts somehow ends up with duplicate IDs and unstickying only
removes one at a time
---------------------------------------------+----------------------------
 Reporter:  archon810                        |       Owner:  peterwilsoncc
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.7
Component:  Posts, Post Types                |     Version:  5.5.3
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50384" 50384]:
 {{{
 #!CommitTicketReference repository="" revision="50384"
 Tests: Rename `stick_post()` and `unstick_post()` tests for a bit more
 clarity.

 Add missing DocBlock for `test_unstick_post_updates_option()`.

 Follow-up to [50380].

 See #52007.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52007#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list