mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-08 22:54:36 +00:00
`array_slice()` must be told to preserve keys when the query results exceed the limit specified the 'number' parameter, so that `id=>parent` and other id-indexed return value formats don't get mangled. Props fantasyworld, wpdelighter. Fixes #35382. git-svn-id: https://develop.svn.wordpress.org/trunk@36252 602fd350-edb4-49c9-b593-d223f7449a82