[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
Fri Feb 18 11:58:09 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:  6.0
Component:  Posts, Post Types                       |     Version:  5.7
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch has-unit-tests needs-testing  |     Focuses:
----------------------------------------------------+---------------------
Changes (by azouamauriac):

 * keywords:  has-patch needs-testing => has-patch has-unit-tests needs-
     testing


Comment:

 @peterwilsoncc I've added some units tests. let me know if you need
 something more.

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


More information about the wp-trac mailing list