mirror of
git://develop.git.wordpress.org/
synced 2025-04-08 14:13:27 +02:00
Normalize an invalid `sticky_posts` option to an empty array within `stick_post()`. This fixes a bug in which an unexpected option value would prevent new posts from being made sticky. Follow up to [50380]. Props azouamauriac, denishua, kajalgohel, sergeybiryukov, costdev. Fixes #55176. git-svn-id: https://develop.svn.wordpress.org/trunk@53238 602fd350-edb4-49c9-b593-d223f7449a82