[wp-trac] [WordPress Trac] #55176: if $stickies in function stick_post is not array, it should be empty array

WordPress Trac noreply at wordpress.org
Wed Feb 16 10:02:55 UTC 2022


#55176: if  $stickies in function stick_post is not array, it should be empty array
-------------------------------+------------------------------
 Reporter:  denishua           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------------------
Changes (by azouamauriac):

 * version:   => trunk


Comment:

 Hello there, thanks for the report, I'm able to reproduce the issue, the
 patch looks good too I think.

 The code was introduced here: [50380] to fix duplicated post's id in
 stick_post option.

 pinging @peterwilsoncc as he was spearhead this part of code.

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


More information about the wp-trac mailing list