mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-24 19:10:16 +00:00
The `page` query var only accepts a scalar value and passes the value through functions that assume a scalar value. Adding an extra guard condition does not affect its functionality but does avoid a PHP fatal error for `trim()` when a non-scalar value such as an array is passed. Follow-up to [2535], [53891]. Props brookedot, rlmc, mukesh27, SergeyBiryukov. Fixes #56558. git-svn-id: https://develop.svn.wordpress.org/trunk@56815 602fd350-edb4-49c9-b593-d223f7449a82