Fixing Posts::get() to deal properly with post types and statuses.  If the status_name or type_name is "any", then don't include the status or type in the WHERE clause of the SQL query.
Fixing Posts::get() to deal properly with post types and statuses.  If the status_name or type_name is "any", then don't include the status or type in the WHERE clause of the SQL query.

propx to Freakerz for catching this, and discerning the correct fix.



git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@901 653ae4dd-d31e-0410-96ef-6bf7bf53c507

dragonmantank/Habari,dragonmantank/Habari,dragonmantank/Habari