Don't show deleted Pages in wp.getPages results
|Reported by:||josephscott||Owned by:||josephscott|
|Cc:||joseph@…, mt@…, westi|
Clients will get confused by the new trash status of Pages in the results of wp.getPages. This is a patch to filter out Pages with a status of trash from the results.
There was a similar issue with Posts, but this fix is different because it's calling get_posts() to collect the Pages data.