{"push_id":574588817,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"118a92b56c86d99e00162a7d8ade5424a597e267","before":"7aa6c634241d0f5c0d1e04220fdb8a606c9fa594","commits":[{"sha":"118a92b56c86d99e00162a7d8ade5424a597e267","author":{"email":"e24dece950db3cee45a12cd879cca9ac3cd87c15@1a063a9b-81f0-0310-95a4-ce76da25c4cd","name":"boonebgorges"},"message":"More careful type conversion in `WP_Query` `is_*()` methods.\n\n`is_array( 1, '1-foo' )` returns true, which means that `is_page( 1 )`\nwas returning true when on a page with the slug '1-foo'. We avoid this odd\nbehavior by casting the queried object ID to a string before testing against\nthe value passed to the conditional function.\n\nThis also helps to avoid a problem where an arbitrary value for `$page` would\ncause `is_page( $page )` to return true if the query had been manipulated by\na plugin to show that the current page's ID is 0.\n\nProps boonebgorges, r-a-y, nunomorgadinho, wonderboymusic, clifgriffin.\nFixes #24674.\nBuilt from https://develop.svn.wordpress.org/trunk@31458\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@31439 1a063a9b-81f0-0310-95a4-ce76da25c4cd","distinct":true,"url":"https://api.github.com/repos/svn2github/wp-svn-2-git/commits/118a92b56c86d99e00162a7d8ade5424a597e267"}]}