`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. Built from https://develop.svn.wordpress.org/trunk@36252 git-svn-id: http://core.svn.wordpress.org/trunk@36219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
161 KiB
161 KiB