Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
wpsc_single_template query issue #844
posting issue reported by customer:
I tried to recreate this issue. But WordPress appears to correctly deliver a single post regardless of how many posts have the same slug to this function. That said, the query that is executed within this function could return the wrong post since it doesn't test for post_status. This PR addresses that issue.